Skip to content

Instantly share code, notes, and snippets.

@georgicodes
Created June 23, 2014 22:34
Show Gist options
  • Select an option

  • Save georgicodes/ed2c0cb8c34b95a62c8f to your computer and use it in GitHub Desktop.

Select an option

Save georgicodes/ed2c0cb8c34b95a62c8f to your computer and use it in GitHub Desktop.
Simple Gruntfile that runs jamsine tests in headless browser
module.exports = function(grunt) {
grunt.initConfig({
jasmine : {
// Your project's source files
src : 'src/**/*.js',
options: {
// Your Jasmine spec files
specs : 'specs/**/*spec.js',
// Your spec helper files
helpers : 'specs/helpers/*.js'
}
}
});
// Register tasks.
grunt.loadNpmTasks('grunt-contrib-jasmine');
// Default task.
grunt.registerTask('default', 'jasmine');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment