Grunt task for running jasmine-node
npm install grunt-jasmine-nodeA grunt.js task to run your jasmine feature suite using jasmine-node.
npm install grunt-jasmine-nodeThen add this line to your project's grunt.js grunt file:
``javascript
grunt.initConfig({
jasmine_node: {
options: {
forceExit: true,
match: '.',
matchall: false,
extensions: 'js',
specNameMatcher: 'spec'
},
all: ['spec/']
}
});
grunt.loadNpmTasks('grunt-jasmine-node');
grunt.registerTask('default', 'jasmine_node');
``
Help us squash them by submitting an issue that describes how you encountered it; please be as specific as possible including operating system, node, grunt, and grunt-jasmine-node versions.
see GitHub Repository.