diff options
-rw-r--r-- | js/tests/karma.conf.js | 4 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 704d3c541d..4183197c14 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -8,7 +8,7 @@ const { browsersKeys } = require('./browsers') -const jqueryFile = process.env.USE_OLD_JQUERY ? 'https://code.jquery.com/jquery-1.9.1.min.js' : 'node_modules/jquery/dist/jquery.slim.min.js' +const jqueryFile = 'node_modules/jquery/dist/jquery.slim.min.js' const bundle = process.env.BUNDLE === 'true' const browserStack = process.env.BROWSER === 'true' const debug = process.env.DEBUG === 'true' @@ -94,7 +94,7 @@ if (bundle) { conf.browsers = browsersKeys reporters.push('BrowserStack') files = files.concat([ - 'node_modules/jquery/dist/jquery.slim.min.js', + jqueryFile, 'js/coverage/dist/util/util.js', 'js/coverage/dist/util/sanitizer.js', 'js/coverage/dist/dom/polyfill.js', diff --git a/package.json b/package.json index 38a397a5d4..11bf34a7b7 100644 --- a/package.json +++ b/package.json @@ -58,9 +58,7 @@ "js-test": "npm-run-all js-test-karma* js-test-integration", "js-debug": "cross-env DEBUG=true karma start js/tests/karma.conf.js", "js-test-karma": "karma start js/tests/karma.conf.js", - "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma", "js-test-karma-bundle": "cross-env BUNDLE=true npm run js-test-karma", - "js-test-karma-bundle-old": "cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma", "js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js", "js-test-cloud": "cross-env BROWSER=true npm run js-test-karma", "lint": "npm-run-all --parallel js-lint css-lint", |