karma-tang
v0.1.3
Published
tang plugin for karma
Readme
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
}
}
