To test, install all dependencies with:
npm i
Start ganache-cli in a separate terminal window:
ganache-cli
Migrate your contracts:
truffle migrate
Test with:
truffle test test/CreditToken.spec.js
To test, install all dependencies with:
npm i
Start ganache-cli in a separate terminal window:
ganache-cli
Migrate your contracts:
truffle migrate
Test with:
truffle test test/CreditToken.spec.js