Fix #13044: execute all QUnit modules in TestSwarm. Close gh-1074.

This commit is contained in:
Richard Gibson 2012-12-12 20:19:18 -05:00 committed by Dave Methvin
parent a270d638f8
commit ca26d45395
2 changed files with 8 additions and 2 deletions

View File

@ -106,6 +106,11 @@ module.exports = function( grunt ) {
qunit: { qunit: {
files: "test/index.html" files: "test/index.html"
}, },
testswarm: {
tests: "ajax attributes callbacks core css data deferred dimensions effects event manipulation offset queue selector serialize support traversing Sizzle".split(" ")
},
watch: { watch: {
files: [ files: [
"<config:lint.grunt>", "<config:lint.tests>", "<config:lint.grunt>", "<config:lint.tests>",
@ -113,6 +118,7 @@ module.exports = function( grunt ) {
], ],
tasks: "dev" tasks: "dev"
}, },
uglify: { uglify: {
codegen: { codegen: {
ascii_only: true ascii_only: true
@ -137,7 +143,7 @@ module.exports = function( grunt ) {
testUrls = [], testUrls = [],
pull = /PR-(\d+)/.exec( commit ), pull = /PR-(\d+)/.exec( commit ),
config = grunt.file.readJSON( configFile ).jquery, config = grunt.file.readJSON( configFile ).jquery,
tests = "ajax attributes callbacks core css data deferred dimensions effects event manipulation offset queue serialize support traversing Sizzle".split(" "); tests = grunt.config([ this.name, "tests" ]);
if ( pull ) { if ( pull ) {
jobName = "jQuery pull <a href='https://github.com/jquery/jquery/pull/" + jobName = "jQuery pull <a href='https://github.com/jquery/jquery/pull/" +

View File

@ -1,4 +1,4 @@
module("selector - jQuery only", { teardown: moduleTeardown }); module("selector", { teardown: moduleTeardown });
/** /**
* This test page is for selector tests that require jQuery in order to do the selection * This test page is for selector tests that require jQuery in order to do the selection