From 62fbb23ee61999e362cd8ade6073732a46466077 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Tue, 24 Oct 2017 10:12:45 +0200 Subject: Change Rollup config to wrap our dist files with jQuery instead of $ --- js/tests/index.html | 1 - js/tests/unit/util.js | 19 ------------------- 2 files changed, 20 deletions(-) delete mode 100644 js/tests/unit/util.js (limited to 'js/tests') diff --git a/js/tests/index.html b/js/tests/index.html index 0385b8a2b..2383fce6e 100644 --- a/js/tests/index.html +++ b/js/tests/index.html @@ -119,7 +119,6 @@ -
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 - }) -}) -- cgit v1.2.3