From 9be5265f32924a615c72e6b3ff799bbe202302f3 Mon Sep 17 00:00:00 2001 From: James Allen Date: Tue, 29 Apr 2014 12:31:30 +0100 Subject: [PATCH] Update gruntfile with configurable report --- services/docstore/Gruntfile.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/docstore/Gruntfile.coffee b/services/docstore/Gruntfile.coffee index 099955bc9b..a9ac6e5180 100644 --- a/services/docstore/Gruntfile.coffee +++ b/services/docstore/Gruntfile.coffee @@ -53,17 +53,17 @@ module.exports = (grunt) -> mochaTest: unit: options: - reporter: "spec" + reporter: grunt.option('reporter') or 'spec' src: ["test/unit/js/**/*.js"] acceptance: options: - reporter: "spec" + reporter: grunt.option('reporter') or 'spec' timeout: 40000 grep: grunt.option("grep") src: ["test/acceptance/js/**/*.js"] smoke: options: - reported: "spec" + reporter: grunt.option('reporter') or 'spec' timeout: 10000 src: ["test/smoke/js/**/*.js"] @@ -75,7 +75,7 @@ module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-bunyan' grunt.loadNpmTasks 'grunt-forever' - grunt.registerTask 'compile:app', ['clean:app', 'coffee:app', 'coffee:app_src', 'coffee:smoke_tests'] + grunt.registerTask 'compile:app', ['clean:app', 'coffee:app', 'coffee:app_src'] grunt.registerTask 'run', ['compile:app', 'bunyan', 'execute'] grunt.registerTask 'compile:unit_tests', ['clean:unit_tests', 'coffee:unit_tests']