mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 20:41:57 +00:00
Update gruntfile with configurable report
This commit is contained in:
parent
2e8582874f
commit
9be5265f32
1 changed files with 4 additions and 4 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue