Socket
Socket
Sign inDemoInstall

hardhat-jest-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hardhat-jest-plugin

Running Hardhat Tests with Jest


Version published
Weekly downloads
46
Maintainers
1
Weekly downloads
 
Created
Source

Build Status TypeScript

Experimental, untested proof of concept hardhat-jest-plugin

👷‍♀️👷‍♂️

The plugin enables the use of Jest as a test runner.

What

This plugin will make it possible to benefit from both the features Jest provides, as well as the HRE for an optimal debugging experience.

Installation

npm install hardhat-jest-plugin jest

Import the plugin in your hardhat.config.js:

require("hardhat-jest-plugin");

Or if you are using TypeScript, in your hardhat.config.ts:

import "hardhat-jest-plugin";

Required plugins

None, yet.

Tasks

This plugin adds the test:jest task to Hardhat:

output of `npx hardhat help example`

Environment extensions

None.

Configuration

None, yet.

Usage

There are no additional steps you need to take for this plugin to work.

Install it and run it with hardhat test:jest

Keywords

FAQs

Package last updated on 06 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc