This project uses node
version 10, and nvm
(node version manager) to manage the version of node
.
- Make sure
nvm
is installed by runningbrew list nvm || brew install nvm
. - Make sure you have the correct version of
node
by runningnvm install
. - Make sure you have all the required packages by running
npm install
(note the subtle difference betweennvm
in the previous step andnpm
here).
Now you can run the tests (against the right version of node) using nvm use && npm test
.