@solidstate/hardhat-test-short-circuit
v1.1.0
Published
Stop Hardhat test execution on demand and print output from completed tests
Downloads
8
Maintainers
Readme
Hardhat Test Short Circuit
Stop Hardhat test execution on demand and print output from completed tests.
Installation
npm install --save-dev @solidstate/hardhat-test-short-circuit
# or
yarn add --dev @solidstate/hardhat-test-short-circuit
Usage
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
Development
Install dependencies via Yarn:
yarn install
Setup Husky to format code on commit:
yarn prepare