You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
314 B
15 lines
314 B
5 years ago
|
'use strict';
|
||
|
|
||
|
// This is a custom Jest transformer turning style imports into empty objects.
|
||
|
// http://facebook.github.io/jest/docs/en/webpack.html
|
||
|
|
||
|
module.exports = {
|
||
|
process() {
|
||
|
return 'module.exports = {};';
|
||
|
},
|
||
|
getCacheKey() {
|
||
|
// The output is always the same.
|
||
|
return 'cssTransform';
|
||
|
},
|
||
|
};
|