Skip to content

Helpers for testing Locomotive helpers with the Chai assertion library.

License

Notifications You must be signed in to change notification settings

viadeo/chai-maglev-helpers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chai-locomotive-helpers

Build Coverage Quality Dependencies

Helpers for testing Locomotive helpers with the Chai assertion library.

Fork from https:/jaredhanson/chai-locomotive-helpers Jared Hanson ([email protected]) - 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

The MIT License

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

About

Helpers for testing Locomotive helpers with the Chai assertion library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.2%
  • Makefile 13.8%