Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
71497264
Commit
71497264
authored
Jan 27, 2014
by
Oleg Gaidarenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: Remove QUnit start hook
parent
e0b606d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
testrunner.js
test/data/testrunner.js
+1
-11
No files found.
test/data/testrunner.js
View file @
71497264
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment