summaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/jest.config.js b/jest.config.js
index cfc8e254791..4d9e19abbaf 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -3,15 +3,3 @@ const baseConfig = require('./jest.config.base');
module.exports = {
...baseConfig('spec/frontend'),
};
-
-const karmaTestFile = process.argv.find((arg) => arg.includes('spec/javascripts/'));
-if (karmaTestFile) {
- console.error(`
-Files in spec/javascripts/ and ee/spec/javascripts need to be run with Karma.
-Please use the following command instead:
-
-yarn karma -f ${karmaTestFile}
-
-`);
- process.exit(1);
-}