Last active
May 3, 2016 00:18
-
-
Save stacylondon/7e3061f4c6ab96cd5ee7838e812b4cdc to your computer and use it in GitHub Desktop.
Jasmine Custom Templates - Grunt Configuration
This file contains 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
jasmine: { | |
unmodified: { | |
options: { | |
vendor: [ | |
'vendor/jquery-1.11.0.min.js', | |
'tests/lib/jasmine-jquery-2.1.0.js' | |
], | |
specs: ['tests/spec/app-measurement-spec.js'], | |
template: require('./tests/templates/app-measurement-template.js'), | |
templateOptions: { | |
minified: false | |
}, | |
//keepRunner: true, // uncomment for debugging, leaves _SpecRunner.htm | |
} | |
}, | |
min: { | |
options: { | |
vendor: [ | |
'vendor/jquery-1.11.0.min.js', | |
'tests/lib/jasmine-jquery-2.1.0.js' | |
], | |
specs: ['tests/spec/app-measurement-spec.js'], | |
template: require('./tests/templates/app-measurement-template.js'), | |
templateOptions: { | |
minified: true | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment