Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-30T20:36:27.000Z (5 months ago)
- Last Synced: 2024-11-16T14:36:12.332Z (about 1 month ago)
- Topics: eth, ether, ethereum, hardhat, mocha, plugin, test, wow
- Language: TypeScript
- Homepage:
- Size: 120 KB
- Stars: 0
- Watchers: 2
- 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
```