diff --git a/Gruntfile.js b/Gruntfile.js index b4ad39d..7e53804 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -43,11 +43,24 @@ module.exports = function (grunt) { 'playground/main.browser.js': ['playground/main.js'] } } + }, + + node_tap: { + default_options: { + options: { + outputType: 'tap', + outputTo: 'console' + }, + files: { + 'tests': ['./test/src/*.js'] + } + } } }); grunt.loadNpmTasks('grunt-browserify'); grunt.loadNpmTasks('grunt-eslint'); + grunt.loadNpmTasks('grunt-node-tap'); grunt.registerTask('default', ['eslint', 'build_sources', 'check', 'build']); grunt.registerTask('test', ['jasmine_node']); diff --git a/package.json b/package.json index 6b89cda..81bd04e 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "grunt-browserify": "^3.2.0", "grunt-contrib-watch": "^0.6.1", "grunt-eslint": "^2.0.0", + "grunt-node-tap": "^0.1.61", "tape": "^3.0.2" } }