Added missing configs to fixt tests with Jest 28

This commit is contained in:
Alejandro Celaya
2022-05-02 13:22:38 +02:00
parent ed7bb20bbb
commit dfbe43ef02
4 changed files with 24 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
// 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 { code: 'module.exports = {};' };
},
getCacheKey() {
// The output is always the same.
return 'cssTransform';
},
};