mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm)
Conflicts: test/data/testinit.js test/data/testrunner.js
This commit is contained in:
6
test/jquery.js
vendored
6
test/jquery.js
vendored
@@ -54,11 +54,9 @@
|
||||
// Load jQuery
|
||||
document.write( "<script id='jquery-js' src='" + path + src + "'><\x2Fscript>" );
|
||||
|
||||
// Load tests if available
|
||||
// These can be loaded async as QUnit won't start until finished
|
||||
// Synchronous-only tests
|
||||
// Other tests are loaded from the test page
|
||||
if ( typeof loadTests !== "undefined" ) {
|
||||
loadTests();
|
||||
// Synchronous-only tests
|
||||
document.write( "<script src='" + path + "test/unit/ready.js'><\x2Fscript>");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user