- NodeJS 10+
- Chai, Chai-Http
- Mocha
npm install
Create config/local.json
cp config/default.json config/local.json
Update the config file to match with your env.
The basic tests:
npm run test/tomox.js
# Test create a new relayer
# Test list trading/lending pairs
# Test trading
# Test lending
# Test cancel trading/lending
# Test manual topup
# Test manual repay
You also can create your own test cases