mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Remove QUnit start hook
This commit is contained in:
parent
e0b606d2bd
commit
7149726485
@ -1,8 +1,7 @@
|
||||
define(function() {
|
||||
|
||||
// Allow subprojects to test against their own fixtures
|
||||
var oldStart = window.start,
|
||||
qunitModule = QUnit.module,
|
||||
var qunitModule = QUnit.module,
|
||||
qunitTest = QUnit.test,
|
||||
// Store the old counts so that we only assert on tests that have actually leaked,
|
||||
// instead of asserting every time a test has leaked sometime in the past
|
||||
@ -26,15 +25,6 @@ QUnit.config.testTimeout = 2e4; // 20 seconds
|
||||
// Enforce an "expect" argument or expect() call in all test bodies.
|
||||
QUnit.config.requireExpects = true;
|
||||
|
||||
/**
|
||||
* QUnit hooks
|
||||
*/
|
||||
|
||||
// Sandbox start for great justice
|
||||
window.start = function() {
|
||||
oldStart();
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {jQuery|HTMLElement|Object|Array} elems Target (or array of targets) for jQuery.data.
|
||||
* @param {string} key
|
||||
|
Loading…
Reference in New Issue
Block a user