chore(grunt): add ability to run single tests that match a pattern

to use run `grunt single-test:<pattern>`.
Pattern can be a string or a regex pattern
This commit is contained in:
Estevão Soares dos Santos 2015-07-11 19:41:31 +01:00
parent 09a6578604
commit a46792350f

View File

@ -156,7 +156,7 @@ module.exports = function (grunt) {
} }
}); });
grunt.task.run('simplemocha:node'); grunt.task.run(['lint', 'concat:test', 'simplemocha:single', 'clean']);
}); });
grunt.registerTask('lint', ['jshint', 'jscs']); grunt.registerTask('lint', ['jshint', 'jscs']);