mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
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:
parent
09a6578604
commit
a46792350f
|
@ -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']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user