karma-tang

0.1.3 • Public • Published

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-tang

Here 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
  }
}

Readme

Keywords

Package Sidebar

Install

npm i karma-tang

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • jamestalmage