diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-01-29 00:26:08 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-01-29 00:26:39 +0300 |
commit | 2267193d8f14d206291bc31808958513600a7a5d (patch) | |
tree | ddbc0a65c0e17c374c14da09ef57d0d93edab226 /js/tests | |
parent | 17d8fba548909db2ce358ddfeaaab292cacc0874 (diff) |
Switch to jsDelivr for jQuery too. (#32918)
Diffstat (limited to 'js/tests')
-rw-r--r-- | js/tests/karma.conf.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 255d64154f..94ea91c6c0 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -9,7 +9,9 @@ const { browsers, browsersKeys } = require('./browsers') const USE_OLD_JQUERY = Boolean(process.env.USE_OLD_JQUERY) const BUNDLE = Boolean(process.env.BUNDLE) const BROWSERSTACK = Boolean(process.env.BROWSERSTACK) -const JQUERY_FILE = USE_OLD_JQUERY ? 'https://code.jquery.com/jquery-1.9.1.min.js' : 'node_modules/jquery/dist/jquery.slim.min.js' +const JQUERY_FILE = USE_OLD_JQUERY ? + 'https://cdn.jsdelivr.net/npm/jquery@1.9.1/jquery.min.js' : + 'node_modules/jquery/dist/jquery.slim.min.js' const frameworks = [ 'qunit', |