To get started (on Mac OS X):
- Clone this codebase
- Install yarn if you don't already have it:
brew install yarn
- Navigate into the
rps
subdirectory and runyarn install
. (note:npm install
may fail to resolve dependencies, so use yarn)
- Tests must be added to a
spec
directory in therps
directory. - To run tests from the command line, simply run
yarn test
in therps
directory. - To run tests from IntelliJ:
- Install the Node JS plugin
- Go into the Edit Configurations... menu and edit the default settings for Mocha
- Under Extra Mocha Options, add:
--require babel-register
.