mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-13 14:14:57 +00:00
0b4fea1c4f
Test Plan: `yarn flow` passes, and the [Jest docs][1] suggest that the added type annotations are correct. [1]: https://jestjs.io/docs/en/configuration#transform-object-string-string wchargin-branch: flow-jest-transforms
14 lines
308 B
JavaScript
14 lines
308 B
JavaScript
// @flow
|
|
// 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";
|
|
},
|
|
};
|