Skip to content

Commit

Permalink
feat: update grunt-jasmine-node
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Krummsdorf committed Jun 13, 2014
1 parent e2ec007 commit 5bd22e3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
31 changes: 19 additions & 12 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,15 +434,22 @@ module.exports = function (grunt) {
}
},
jasmine_node: {
specNameMatcher: './*.spec', // load only specs containing specNameMatcher
projectRoot: 'test/server',
requirejs: false,
forceExit: true,
jUnit: {
report: true,
savePath: './.reports/test/server/',
useDotNotation: true,
consolidate: true
options: {
specNameMatcher: 'spec', // load only specs containing specNameMatcher
requirejs: false,
forceExit: true
},
test: ['test/server/'],
ci: {
options: {
jUnit: {
report: true,
savePath: '.reports/test/server/',
useDotNotation: true,
consolidate: true
}
},
src: ['test/server/']
}
},
bgShell: {
Expand Down Expand Up @@ -626,7 +633,7 @@ module.exports = function (grunt) {
'clean:test',
'newer:jshint:test',
'karma:unit',
'jasmine_node'
'jasmine_node:test'
]);

// client tests
Expand All @@ -640,7 +647,7 @@ module.exports = function (grunt) {
grunt.registerTask('test:server', [
'clean:test',
'newer:jshint:test_server',
'jasmine_node'
'jasmine_node:test'
]);

// coverage all
Expand Down Expand Up @@ -678,7 +685,7 @@ module.exports = function (grunt) {
'clean:jshint',
'jshint:jslint',
'jshint:checkstyle',
'jasmine_node',
'jasmine_node:ci',
'bgShell:coverage',
'bgShell:cobertura',
'karma:ci',
Expand Down
2 changes: 1 addition & 1 deletion app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-watch": "~0.5.2",
"grunt-express-server": "~0.4.5",
"grunt-jasmine-node": "~0.1.0",
"grunt-jasmine-node": "^0.2.1",
"grunt-karma": "~0.8.0",
"grunt-newer": "~0.5.4",
"grunt-ngmin": "~0.0.2",
Expand Down

0 comments on commit 5bd22e3

Please sign in to comment.