2018-02-18 16:13:29 +00:00
|
|
|
"use strict";
|
2018-02-17 21:28:47 +00:00
|
|
|
|
|
|
|
// This is a custom Jest transformer turning style imports into empty objects.
|
|
|
|
// http://facebook.github.io/jest/docs/en/webpack.html
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
process() {
|
2018-02-18 16:13:29 +00:00
|
|
|
return "module.exports = {};";
|
2018-02-17 21:28:47 +00:00
|
|
|
},
|
|
|
|
getCacheKey() {
|
|
|
|
// The output is always the same.
|
2018-02-18 16:13:29 +00:00
|
|
|
return "cssTransform";
|
2018-02-17 21:28:47 +00:00
|
|
|
},
|
|
|
|
};
|