Candidate setup for the WindRanger pair-programming interview.
Ensure you have latest NodeJs LTS installed and setup to work in the terminal window.
Git clone, then from the project root execute
To retrieve the project dependencies and before any further tasks will run correctly
npm ci
npm run build
npm test
If you make changes that don't get picked up then add a clean into the process
npm run clean
npm run build
npm test
Running directly against hardhat
Target to run all the mocha tests found in the /test
directory, transpiled as necessary.
npx hardhat test
Run a single test (or a regex of tests), then pass in as an argument.
npx hardhat test .\test\sample.test.ts
The TypeScript transpiler will automatically as needed, execute through HardHat for the instantiated environment
npx hardhat run .\scripts\sample-script.ts