0.3.0 • Published 6 years ago
@otak/chai-chotokkyu-helpers v0.3.0
chai-locomotive-helpers
Helpers for testing Locomotive helpers with the Chai assertion library.
Fork from https://github.com/jaredhanson/chai-locomotive-helpers Jared Hanson (jaredhanson@gmail.com) - http://www.jaredhanson.net/
Install
$ npm install chai-locomotive-helpers
Usage
Use Plugin
Use this plugin as you would all other Chai plugins:
var chai = require('chai');
chai.use(require('chai-locomotive-helpers'));
Write Test Cases
Once used, the chai.locomotive.helper
and chai.locomotive.dynamicHelper
functions will be available to set up test cases for Locomotive helpers.
Tests
$ npm install
$ npm test
Credits
License
Copyright (c) 2013 Jared Hanson [http://jaredhanson.net/](http://jaredhanson.net/)
0.3.0
6 years ago