Tests: Remove QUnit start hook

This commit is contained in:
Oleg Gaidarenko 2014-01-27 23:32:46 +04:00
parent e0b606d2bd
commit 7149726485

View File

@ -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