0.1.3 • Published 11 years ago
karma-tang v0.1.3
karma-tang
Karma preprocessor support for tang.
Tang provides a series of annotations that make it easier to test your angular code. See the tang readme to understand what is possible.
This plugin is the recommended way to apply the tang annotations to your tests.
Install:
npm install --save-dev tang karma-tangHere is an example excerpt from a karma config using both coffee and ng-test-utils.
preprocessors: {
'example/src/*-test.coffee':['coffee','tang'],
'example/src/*-test.js':['tang']
},
tang:{
sourceMap:true
},
coffeePreprocessor: {
options: {
bare: true,
sourceMap: true
}
}