aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-10-24 10:12:45 +0200
committerJohann-S <[email protected]>2017-10-24 12:39:25 +0200
commit62fbb23ee61999e362cd8ade6073732a46466077 (patch)
tree4407025061f33fc39da7526f544b773f7457078c /js/tests/unit
parentca4ad8bee8000617c2ae1a08afe7af1103058776 (diff)
downloadbootstrap-62fbb23ee61999e362cd8ade6073732a46466077.tar.xz
bootstrap-62fbb23ee61999e362cd8ade6073732a46466077.zip
Change Rollup config to wrap our dist files with jQuery instead of $
Diffstat (limited to 'js/tests/unit')
-rw-r--r--js/tests/unit/util.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/js/tests/unit/util.js b/js/tests/unit/util.js
deleted file mode 100644
index c3412041e..000000000
--- a/js/tests/unit/util.js
+++ /dev/null
@@ -1,19 +0,0 @@
-$(function () {
- 'use strict'
-
- QUnit.module('Util')
-
- QUnit.test('Util.jQuery should find window.jQuery if window.$ is not available', function (assert) {
- assert.expect(1)
- delete window.$
- assert.strictEqual(Util.jQuery, window.jQuery)
- window.$ = Util.jQuery
- })
-
- QUnit.test('Util.jQuery should find window.$ if window.jQuery is not available', function (assert) {
- assert.expect(1)
- delete window.jQuery
- assert.strictEqual(Util.jQuery, window.$)
- window.jQuery = Util.jQuery
- })
-})