chai-locomotive-helpers

0.1.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i chai-locomotive-helpers

    Weekly Downloads

    1

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • jaredhanson