Skip to content

Commit

Permalink
test: fix @babel/runtime mjs transform in jest (#29427)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Feb 23, 2021
1 parent 918fdd6 commit 3788e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .jest.js
Expand Up @@ -30,7 +30,7 @@ module.exports = {
testPathIgnorePatterns: ['/node_modules/', 'dekko', 'node', 'image.test.js', 'image.test.ts'],
transform: {
'\\.tsx?$': './node_modules/@ant-design/tools/lib/jest/codePreprocessor',
'\\.js$': './node_modules/@ant-design/tools/lib/jest/codePreprocessor',
'\\.(m?)js$': './node_modules/@ant-design/tools/lib/jest/codePreprocessor',
'\\.md$': './node_modules/@ant-design/tools/lib/jest/demoPreprocessor',
'\\.(jpg|png|gif|svg)$': './node_modules/@ant-design/tools/lib/jest/imagePreprocessor',
},
Expand Down

0 comments on commit 3788e85

Please sign in to comment.