diff --git a/tasks/qunit.js b/tasks/qunit.js index 364ff5ce..58c1ed06 100644 --- a/tasks/qunit.js +++ b/tasks/qunit.js @@ -189,7 +189,6 @@ module.exports = function(grunt) { inject: asset('tasks/lib/bridge.js'), - // Explicit non-file URLs to test. url: 'http://localhost:8000/test/fet/bin/run.php?case=' }); @@ -218,7 +217,7 @@ module.exports = function(grunt) { // Process each filepath in-order. grunt.util.async.forEachSeries(files, function(module, next) { - var url = options.url + module.replace(/\.js$/i, ''); + var url = options.url + module.replace(/\.js$/i, '' ); options.cov && (url += '&cov=true'); diff --git a/tasks/smart_cov.js b/tasks/smart_cov.js index ec961d77..a743ae40 100644 --- a/tasks/smart_cov.js +++ b/tasks/smart_cov.js @@ -3,7 +3,7 @@ module.exports = function( grunt ) { cliPath = path.resolve('./node_modules/smart-cov/lib/cli.js'), file = grunt.file; - grunt.registerTask( "smart_cov", function() { + grunt.registerTask( 'smart_cov', function() { var opts = this.options({ src: '', dest: '' @@ -18,7 +18,7 @@ module.exports = function( grunt ) { } grunt.util.spawn({ - cmd: "node", + cmd: 'node', args: [ cliPath, 'instrument', path.resolve(opts.src), '-o', path.resolve(opts.dest) ] }, function( error, result ) { if ( error ) {