Skip to content
Helpers for testing Locomotive helpers with the Chai assertion library.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
support/mk
test
.gitignore
.jshintrc
.npmignore
.travis.yml
LICENSE
Makefile
README.md
package.json

README.md

chai-locomotive-helpers

Build Coverage Quality Dependencies

Helpers for testing Locomotive helpers with the Chai assertion library.

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

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>

Something went wrong with that request. Please try again.