Stop Hardhat test execution on demand and print output from completed tests.
npm install --save-dev @solidstate/hardhat-test-short-circuit
# or
yarn add --dev @solidstate/hardhat-test-short-circuit
Load plugin in Hardhat config:
require('@solidstate/hardhat-test-short-circuit');
Run the included Hardhat task while tests are running to skip all pending tests:
npx hardhat short-circuit
# or
yarn run hardhat short-circuit
Install dependencies via Yarn:
yarn install
Setup Husky to format code on commit:
yarn prepare