Skip to content

Commit

Permalink
updated jest config to transform .mjs files
Browse files Browse the repository at this point in the history
  • Loading branch information
wise-king-sullyman committed Aug 1, 2023
1 parent aef2b5a commit 48b8b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
],
roots: ['<rootDir>/packages'],
transform: {
'^.+\\.[jt]sx?$': 'babel-jest'
'^.+\\.m?[jt]sx?$': 'babel-jest'
},
setupFilesAfterEnv: ['<rootDir>/packages/testSetup.ts'],
transformIgnorePatterns: ['node_modules/(?!@patternfly|@novnc|@popperjs|lodash|monaco-editor|react-monaco-editor)'],
Expand Down

0 comments on commit 48b8b8a

Please sign in to comment.