Skip to content

Instantly share code, notes, and snippets.

@chrislaughlin
Created October 19, 2013 10:39
Show Gist options
  • Save chrislaughlin/7054324 to your computer and use it in GitHub Desktop.
Save chrislaughlin/7054324 to your computer and use it in GitHub Desktop.
Grunt file
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jasmine_node: {
matchall: true, // load only specs containing specNameMatcher
projectRoot: ".",
requirejs: false,
forceExit: true,
jUnit: {
report: false,
savePath : "./build/reports/jasmine/",
useDotNotation: true,
consolidate: true
}
}
});
grunt.loadNpmTasks('grunt-jasmine-node');
grunt.registerTask('default', 'jasmine_node');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment