Skip to content

pghalliday/forgiven-mocha

Repository files navigation

forgiven-mocha

Build Status Build status Coverage Status

Mocha UI factory for Forgiven

Usage

npm install --save-dev mocha forgiven forgiven-mocha
import {
  create,
} from 'forgiven';
import {
  mocha,
} from 'forgiven-mocha';

global.given = create(mocha);

Contributing

Run unit tests and build before pushing/opening a pull request

  • npm test - lint and test
  • npm start - watch and build, etc with alarmist
  • npm run build - run tests then build
  • npm run watch - watch for changes and run build
  • npm run ci - run build and submit coverage to coveralls