This repo is an example on how to use async await tests with truffle. I have a full tutorial on medium.
- Node ≥ 7.6 confirm by entering node -v in command line
- npm ≥ 4 confirm by entering npm -v in command line
- Truffle ≥ 3.3 confirm by entering truffle -v in command line
- Ganach-cli ≥ 5.0.0 confirm by entering testrpc -v in command line
Install truffle and ganache once you have node and npm installed:
npm install -g truffle npm install -g ganache-cli
- git clone https://github.com/sogoiii/truffle-async-await-tests
- cd truffle-async-await-tests
- npm install or yarn install
- truffle compile
- truffle test