Skip to content

Commit f5e16ce

Browse files
committed
tests: load 3rd-party libs from the local node_modules folder.
This reduces duplication and the chances to forget to update something.
1 parent 012d443 commit f5e16ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/tests/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
<script src="../../assets/js/vendor/popper.min.js"></script>
2323

2424
<!-- QUnit -->
25-
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.4.1.css" media="screen">
26-
<script src="https://code.jquery.com/qunit/qunit-2.4.1.js"></script>
25+
<link rel="stylesheet" href="../../node_modules/qunitjs/qunit/qunit.css" media="screen">
26+
<script src="../../node_modules/qunitjs/qunit/qunit.js"></script>
2727

2828
<!-- Sinon -->
29-
<script src="https://cdnjs.cloudflare.com/ajax/libs/sinon.js/4.4.6/sinon-no-sourcemaps.min.js"></script>
29+
<script src="../../node_modules/sinon/pkg/sinon-no-sourcemaps.js"></script>
3030

3131
<script>
3232
// Disable jQuery event aliases to ensure we don't accidentally use any of them

0 commit comments

Comments
 (0)