Created
June 23, 2014 22:34
-
-
Save georgicodes/ed2c0cb8c34b95a62c8f to your computer and use it in GitHub Desktop.
Simple Gruntfile that runs jamsine tests in headless browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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