mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
remove tests for old jQuery 1.9.x compatibility
This commit is contained in:
parent
8a37045b79
commit
497518db1a
@ -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',
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user