1 /*global config:true, task:true*/
2 module.exports = function( grunt ) {
5 pkg: '<json:package.json>',
7 // TODO include 'test/logs.html' as well
8 qunit: 'test/index.html',
10 'addons/canvas/canvas.html',
11 'addons/close-enough/close-enough.html',
12 'addons/composite/composite-demo-test.html'
16 qunit: 'qunit/qunit.js',
17 // addons: 'addons/**/*.js',
19 // TODO need to figure out which warnings to fix and which to disable
20 // tests: 'test/test.js'
78 grunt.registerTask( "testswarm", function( commit, configFile ) {
79 var testswarm = require( "testswarm" ),
80 config = grunt.file.readJSON( configFile ).qunit;
86 authUsername: "qunit",
87 authToken: config.authToken,
88 jobName: 'QUnit commit #<a href="https://github.com/jquery/qunit/commit/' + commit + '">' + commit.substr( 0, 10 ) + '</a>',
89 runMax: config.runMax,
90 "runNames[]": "QUnit",
91 "runUrls[]": config.testUrl + commit + "/test/index.html",
92 "browserSets[]": ["popular"]
96 grunt.registerTask('default', 'lint qunit');