$ git clone https://github.com/ridesolo/staking-library.git
$ cd staking-library
$ npm install
Once installed, you can start testing the solidity code contained in the contract folder by running:
$ npm test
To report the gas consumtion for each transactions use:
$ npm run test-report