Commit 71497264 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Tests: Remove QUnit start hook

parent e0b606d2
define(function() { define(function() {
// Allow subprojects to test against their own fixtures // Allow subprojects to test against their own fixtures
var oldStart = window.start, var qunitModule = QUnit.module,
qunitModule = QUnit.module,
qunitTest = QUnit.test, qunitTest = QUnit.test,
// Store the old counts so that we only assert on tests that have actually leaked, // 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 // instead of asserting every time a test has leaked sometime in the past
...@@ -26,15 +25,6 @@ QUnit.config.testTimeout = 2e4; // 20 seconds ...@@ -26,15 +25,6 @@ QUnit.config.testTimeout = 2e4; // 20 seconds
// Enforce an "expect" argument or expect() call in all test bodies. // Enforce an "expect" argument or expect() call in all test bodies.
QUnit.config.requireExpects = true; 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 {jQuery|HTMLElement|Object|Array} elems Target (or array of targets) for jQuery.data.
* @param {string} key * @param {string} key
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment