add test task as npm script

This commit is contained in:
Alexander Zobnin
2017-10-30 13:29:34 +03:00
parent d56f306e7e
commit 8266f61d27
2 changed files with 11 additions and 2 deletions

View File

@@ -193,6 +193,14 @@ module.exports = function(grunt) {
'jscs'
]);
grunt.registerTask('test', [
'clean:test',
'clean:tmp',
'babel:distTestNoSystemJs',
'babel:distTestsSpecsNoSystemJs',
'mochaTest'
]);
grunt.registerTask('bench', [
'clean:test',
'clean:tmp',