diff --git a/js/tests/index.html b/js/tests/index.html
index 37c1c2b27285..99acd4ad4ee7 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -6,19 +6,7 @@
Bootstrap Plugin Test Suite
-
+
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js
index 06046ca8e439..a6c6905985a5 100644
--- a/js/tests/karma.conf.js
+++ b/js/tests/karma.conf.js
@@ -2,15 +2,12 @@
/* eslint no-process-env: 0 */
const ip = require('ip')
-const pkg = require('../../package.json')
const {
browsers,
browsersKeys
} = require('./browsers')
-const path = require('path')
-const jsCoveragePath = path.resolve(__dirname, '../coverage')
-const jqueryFile = process.env.USE_OLD_JQUERY ? 'https://code.jquery.com/jquery-1.9.1.min.js' : `site/docs/${pkg.version_short}/assets/js/vendor/jquery-slim.min.js`
+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 bundle = process.env.BUNDLE === 'true'
const browserStack = process.env.BROWSER === 'true'
@@ -94,7 +91,7 @@ if (bundle) {
conf.browsers = browsersKeys
reporters.push('BrowserStack')
files = files.concat([
- `site/docs/${pkg.version_short}/assets/js/vendor/jquery-slim.min.js`,
+ 'node_modules/jquery/dist/jquery.slim.min.js',
'js/dist/util.js',
'js/dist/tooltip.js',
'js/dist/!(util|index|tooltip).js' // include all of our js/dist files except util.js, index.js and tooltip.js
@@ -117,7 +114,7 @@ if (bundle) {
conf.customLaunchers = customLaunchers
conf.detectBrowsers = detectBrowsers
conf.coverageIstanbulReporter = {
- dir: jsCoveragePath,
+ dir: '../coverage/',
reports: ['lcov', 'text-summary'],
thresholds: {
emitWarning: false,
diff --git a/js/tests/visual/alert.html b/js/tests/visual/alert.html
index 7cb48b3468af..6eb7e9444c29 100644
--- a/js/tests/visual/alert.html
+++ b/js/tests/visual/alert.html
@@ -51,7 +51,7 @@ Alert Bootstrap Visual Test
-
+