aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2012-12-12 20:19:18 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-12-13 10:13:50 -0500
commitca26d45395c8a790027633dec5a2ebc15ce9149a (patch)
tree983e6736bbfb1988362d3628b1eac31ad279d887
parenta270d638f84f4ac4ea419665249bdf7952671f09 (diff)
downloadjquery-ca26d45395c8a790027633dec5a2ebc15ce9149a.tar.gz
jquery-ca26d45395c8a790027633dec5a2ebc15ce9149a.zip
Fix #13044: execute all QUnit modules in TestSwarm. Close gh-1074.
-rw-r--r--grunt.js8
-rw-r--r--test/unit/selector.js2
2 files changed, 8 insertions, 2 deletions
diff --git a/grunt.js b/grunt.js
index 90dd7d69a..3e384bc45 100644
--- a/grunt.js
+++ b/grunt.js
@@ -106,6 +106,11 @@ module.exports = function( grunt ) {
qunit: {
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: {
files: [
"<config:lint.grunt>", "<config:lint.tests>",
@@ -113,6 +118,7 @@ module.exports = function( grunt ) {
],
tasks: "dev"
},
+
uglify: {
codegen: {
ascii_only: true
@@ -137,7 +143,7 @@ module.exports = function( grunt ) {
testUrls = [],
pull = /PR-(\d+)/.exec( commit ),
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 ) {
jobName = "jQuery pull <a href='https://github.com/jquery/jquery/pull/" +
diff --git a/test/unit/selector.js b/test/unit/selector.js
index 2a7aa39d2..76c4fbfba 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -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