@dmob/hardhat-test-helpers
v0.2.4
Published
Hardhat Test Helpers Plugin
Downloads
9
Maintainers
Readme
hardhat-test-helpers
Hardhat testing helpers.
What
This plugin adds a collection of helpers for testing in hardhat.
Installation
npm install @dmob/hardhat-test-helpers
Import the plugin in your hardhat.config.js
:
require("@dmob/hardhat-test-helpers");
Or if you are using TypeScript, in your hardhat.config.ts
:
import "@dmob/hardhat-test-helpers";
Required plugins
Tasks
This plugin creates no additional tasks.
Environment extensions
This plugin extends the Hardhat Runtime Environment by adding an example
field
whose type is ExampleHardhatRuntimeEnvironmentField
.
Configuration
<A description of each extension to the HardhatConfig or to its fields>
This plugin extends the HardhatUserConfig
's ProjectPathsUserConfig
object with an optional
newPath
field.
This is an example of how to set it:
module.exports = {
paths: {
newPath: "new-path"
}
};
Usage
<A description of how to use this plugin. How to use the tasks if there are any, etc.>
There are no additional steps you need to take for this plugin to work.
Install it and access ethers through the Hardhat Runtime Environment anywhere you need it (tasks, scripts, tests, etc).