summaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js
index 435dca876ce..c2a512e8afa 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -15,7 +15,10 @@ if (process.env.CI) {
]);
}
-let testMatch = ['<rootDir>/spec/frontend/**/*_spec.js', '<rootDir>/ee/spec/frontend/**/*_spec.js'];
+let testMatch = ['<rootDir>/spec/frontend/**/*_spec.js'];
+if (IS_EE) {
+ testMatch.push('<rootDir>/ee/spec/frontend/**/*_spec.js');
+}
// workaround for eslint-import-resolver-jest only resolving in test files
// see https://github.com/JoinColony/eslint-import-resolver-jest#note