Testing - aelindeman/wmata-with-you GitHub Wiki

  1. npm install --only=dev
  • installs testing dependencies
  1. npm run-script lint
  • lints the src/ and test/ folders
  1. npm test
  • runs Mocha unit tests

Tests are written with Mocha and expect.

For now only the helper libraries are tested; I don't really know how to approach testing the UI and Pebble.js things.