From a869642705fe63adae1833b7cf934d8811de1d19 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 1 Aug 2014 22:02:12 +0100 Subject: [PATCH] Split up tests in gruntfile --- Gruntfile.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index ec7334c52..6726842ca 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -25,9 +25,11 @@ module.exports = function(grunt) { timeout: 3000, ignoreLeaks: false, ui: 'bdd', - reporter: 'tap' + reporter: 'spec' }, - all: { src: ['test/**/*.js'] } + all: { src: ['test/**/*_spec.js'] }, + core: { src: ["test/_spec.js","test/red/**/*_spec.js"]}, + nodes: { src: ["test/nodes/**/*_spec.js"]} }, jshint: { options: { @@ -84,7 +86,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-simple-mocha'); grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.registerTask('default', ['jshint:core','jshint:tests','simplemocha']); + grunt.registerTask('default', ['jshint:core','jshint:tests','simplemocha:core','simplemocha:nodes']); grunt.registerTask('all', ['jshint:core','jshint:nodes','jshint:editor','default']); };