diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2015-11-13 16:02:32 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-11-13 20:04:07 +0300 |
commit | c69673fe41ee17f46545e87a31ff96cea6c68a17 (patch) | |
tree | b6944633d44b4adf81c1bf33c428334364a6a012 /test/data | |
parent | 2d9d1f006ac98b3dd1f23de1b721f54eb77346db (diff) | |
download | jquery-c69673fe41ee17f46545e87a31ff96cea6c68a17.tar.gz jquery-c69673fe41ee17f46545e87a31ff96cea6c68a17.zip |
Release: remove revert artefacts
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/badjson.js | 2 | ||||
-rw-r--r-- | test/data/testinit.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/data/badjson.js b/test/data/badjson.js index ad2de7a39..d359e824f 100644 --- a/test/data/badjson.js +++ b/test/data/badjson.js @@ -1 +1 @@ -{bad: toTheBone} +{bad: toTheBone;} diff --git a/test/data/testinit.js b/test/data/testinit.js index ca8f433d7..4c8d7d972 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -269,6 +269,7 @@ this.iframeCallback = undefined; // Tests are always loaded async QUnit.config.autostart = false; this.loadTests = function() { + // Leverage QUnit URL parsing to detect testSwarm environment and "basic" testing mode var loadSwarm = ( QUnit.urlParams[ "swarmURL" ] + "" ).indexOf( "http" ) === 0, basicTests = ( QUnit.urlParams[ "module" ] + "" ) === "basic"; @@ -277,6 +278,7 @@ this.loadTests = function() { require( [ "data/testrunner.js" ], function() { var i = 0, tests = [ + // A special module with basic tests, meant for // not fully supported environments like Android 2.3, // jsdom or PhantomJS. We run it everywhere, though, |