From 7149726485ff41afcfd2d12cb3041fe268cc909d Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Mon, 27 Jan 2014 23:32:46 +0400 Subject: [PATCH] Tests: Remove QUnit start hook --- test/data/testrunner.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/test/data/testrunner.js b/test/data/testrunner.js index 474073845..c493618e7 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -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 -- 2.39.5