summaryrefslogtreecommitdiff
path: root/jest.config.base.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.base.js')
-rw-r--r--jest.config.base.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jest.config.base.js b/jest.config.base.js
index 30e11122f81..c092f83d3a6 100644
--- a/jest.config.base.js
+++ b/jest.config.base.js
@@ -25,7 +25,7 @@ module.exports = (path, options = {}) => {
]);
}
- const glob = `${path}/**/*_spec.js`;
+ const glob = `${path}/**/*@([._])spec.js`;
let testMatch = [`<rootDir>/${glob}`];
if (IS_EE) {
testMatch.push(`<rootDir>/ee/${glob}`);