Skip to content

Instantly share code, notes, and snippets.

@stacylondon
Last active May 3, 2016 00:18
Show Gist options
  • Save stacylondon/7e3061f4c6ab96cd5ee7838e812b4cdc to your computer and use it in GitHub Desktop.
Save stacylondon/7e3061f4c6ab96cd5ee7838e812b4cdc to your computer and use it in GitHub Desktop.
Jasmine Custom Templates - Grunt Configuration
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