Skip to content

Commit

Permalink
Decrease Unit Test Time
Browse files Browse the repository at this point in the history
Run tests in parallel.  Anecdotally, this cut test time by 50% on my local machine.

Signed-off-by: Ryan Goulding <[email protected]>
  • Loading branch information
ryandgoulding committed Oct 25, 2023
1 parent 486adbf commit f901000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"description": "example contracts",
"main": "index.js",
"scripts": {
"test": "npx hardhat test",
"test": "npx hardhat test --parallel",
"prettier": "prettier --write test/**/*.js && prettier --write test/*/*/*.js && prettier --write deploy/*.js && prettier --write tasks/*.js && prettier --write contracts/**/*.sol && prettier --write contracts/**/**/*.sol && prettier --write contracts/**/**/**/*.sol",
"lint": "yarn prettier && solhint 'contracts/*.sol' && solhint 'contracts/**/*.sol' && solhint 'contracts/**/**/*.sol' && solhint 'contracts/**/**/**/*.sol'"
},
Expand Down

0 comments on commit f901000

Please sign in to comment.