Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 667 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 667 Bytes

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