1.1.0 • Published 1 year ago

@solidstate/hardhat-test-short-circuit v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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