https://github.com/solidstate-network/hardhat-test-short-circuit
🛑 Stop Hardhat test execution on demand and print output from completed tests ⚡
https://github.com/solidstate-network/hardhat-test-short-circuit
eth ether ethereum hardhat mocha plugin test wow
Last synced: 16 days ago
JSON representation
🛑 Stop Hardhat test execution on demand and print output from completed tests ⚡
- Host: GitHub
- URL: https://github.com/solidstate-network/hardhat-test-short-circuit
- Owner: solidstate-network
- License: mit
- Created: 2022-01-02T04:34:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-04T17:28:44.000Z (11 months ago)
- Last Synced: 2025-10-29T09:51:56.595Z (5 months ago)
- Topics: eth, ether, ethereum, hardhat, mocha, plugin, test, wow
- Language: TypeScript
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Hardhat Test Short Circuit
Stop Hardhat test execution on demand and print output from completed tests.
## Installation
```bash
npm install --save-dev @solidstate/hardhat-test-short-circuit
# or
yarn add --dev @solidstate/hardhat-test-short-circuit
```
## Usage
Load plugin in Hardhat config:
```javascript
require('@solidstate/hardhat-test-short-circuit');
```
Run the included Hardhat task while tests are running to skip all pending tests:
```bash
npx hardhat short-circuit
# or
yarn run hardhat short-circuit
```
## Development
Install dependencies via Yarn:
```bash
yarn install
```
Setup Husky to format code on commit:
```bash
yarn prepare
```