X Tutup
Skip to content

Commit 7149726

Browse files
committed
Tests: Remove QUnit start hook
1 parent e0b606d commit 7149726

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

test/data/testrunner.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
define(function() {
22

33
// Allow subprojects to test against their own fixtures
4-
var oldStart = window.start,
5-
qunitModule = QUnit.module,
4+
var qunitModule = QUnit.module,
65
qunitTest = QUnit.test,
76
// Store the old counts so that we only assert on tests that have actually leaked,
87
// instead of asserting every time a test has leaked sometime in the past
@@ -26,15 +25,6 @@ QUnit.config.testTimeout = 2e4; // 20 seconds
2625
// Enforce an "expect" argument or expect() call in all test bodies.
2726
QUnit.config.requireExpects = true;
2827

29-
/**
30-
* QUnit hooks
31-
*/
32-
33-
// Sandbox start for great justice
34-
window.start = function() {
35-
oldStart();
36-
};
37-
3828
/**
3929
* @param {jQuery|HTMLElement|Object|Array} elems Target (or array of targets) for jQuery.data.
4030
* @param {string} key

0 commit comments

Comments
 (0)
X Tutup