From: Johann-S Date: Sun, 24 Feb 2019 10:45:01 +0000 (+0100) Subject: remove tests for old jQuery 1.9.x compatibility X-Git-Tag: v5.0.0-alpha1~1251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=497518db1a517d2c775516f4c5b952241147a965;p=thirdparty%2Fbootstrap.git remove tests for old jQuery 1.9.x compatibility --- 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",