If you are not at the root of this repo then change directory to sc-bonds
.
cd sc-bonds
- install
npm i
- build contract using solidity :
npm run build
- run tests
npm run test
To run tests on MacOS, do the following preliminary step before launching npm run test
export NODE_OPTIONS=--openssl-legacy-provider