aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit
diff options
context:
space:
mode:
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
- })
-})