Skip to content

Commit c317a7b

Browse files
chore(grunt): grunt-jasmine-node uses different config
1 parent dd7cb15 commit c317a7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ module.exports = function(grunt) {
193193
process: ['build/docs/*.html', 'build/docs/.htaccess']
194194
},
195195

196-
"jasmine-node": {
197-
run: { spec: 'docs/spec' }
196+
"jasmine_node": {
197+
projectRoot: 'docs/spec'
198198
},
199199

200200
"ddescribe-iit": {
@@ -256,7 +256,7 @@ module.exports = function(grunt) {
256256
grunt.registerTask('test:docs', 'Run the doc-page tests with Karma', ['package', 'tests:docs']);
257257
grunt.registerTask('test:unit', 'Run unit, jQuery and Karma module tests with Karma', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
258258
grunt.registerTask('test:e2e', 'Run the end to end tests with Karma and keep a test server running in the background', ['connect:testserver', 'tests:end2end']);
259-
grunt.registerTask('test:docgen', ['jasmine-node']);
259+
grunt.registerTask('test:docgen', ['jasmine_node']);
260260
grunt.registerTask('test:promises-aplus',['build:promises-aplus-adapter','shell:promises-aplus-tests']);
261261

262262
grunt.registerTask('minify', ['bower','clean', 'build', 'minall']);

0 commit comments

Comments
 (0)