1.0.0 • Published 8 years ago

karma-oojspec v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

OOJSpec framework adapter for Karma

This plugin will only work when used with Karma from master since it relies on custom context files. Also, even in master it seems the plugin changes to the relevant config options do not take effect, so you'll have to add this to your config:

{
  config.customContextFile: 'node_modules/karma-oojspec/static/context.html'
  config.customDebugFile: 'node_modules/karma-oojspec/static/debug.html'

  // other relevant entries to oojspec:
  frameworks: ['oojspec']
  plugins: ['karma-oojspec']
}

Usage

npm install karma-oojspec --save-dev

Add frameworks: ['oojspec'] to the Karma configuration and add 'karma-oojspec' to the plugins array.