0.0.6 • Published 9 years ago
karma-ng-test-utils v0.0.6
karma-ng-test-utils
This project has changed it's name to karma-tang. All further updates will be under the new name. Change your dependencies now!
Karma preprocessor support for ng-test-utils. This is the recommended way to apply the transforms to your tests.
Install:
npm install --save-dev ng-test-utils karma-ng-test-utils
Here is an example excerpt from a karma.conf.js
folder using both coffee and ng-test-utils.
preprocessors: {
'example/src/*-test.coffee':['coffee','ng-test-utils'],
'example/src/*-test.js':['ng-test-utils']
},
ngTestUtilsPreprocessor:{
sourceMap:true
},
coffeePreprocessor: {
options: {
bare: true,
sourceMap: true
}
}