diff --git a/src/dev/jest/config.js b/src/dev/jest/config.js index 3cedc3281be73..c9da0355dce5e 100644 --- a/src/dev/jest/config.js +++ b/src/dev/jest/config.js @@ -80,7 +80,7 @@ export default { moduleFileExtensions: ['js', 'json', 'ts', 'tsx', 'node'], modulePathIgnorePatterns: ['__fixtures__/', 'target/'], testEnvironment: 'jest-environment-jsdom-thirteen', - testMatch: ['**/*.test.{js,ts,tsx}'], + testMatch: ['**/*.test.{js,mjs,ts,tsx}'], testPathIgnorePatterns: [ '/packages/kbn-ui-framework/(dist|doc_site|generator-kui)/', '/packages/kbn-pm/dist/',