mirror of
https://github.com/PaulRBerg/hardhat-template.git
synced 2026-04-20 03:00:26 -04:00
17 lines
419 B
TypeScript
17 lines
419 B
TypeScript
import type { SignerWithAddress } from "@nomiclabs/hardhat-ethers/dist/src/signer-with-address";
|
|
import type { Fixture } from "ethereum-waffle";
|
|
|
|
import type { Greeter } from "../src/types/Greeter";
|
|
|
|
declare module "mocha" {
|
|
export interface Context {
|
|
greeter: Greeter;
|
|
loadFixture: <T>(fixture: Fixture<T>) => Promise<T>;
|
|
signers: Signers;
|
|
}
|
|
}
|
|
|
|
export interface Signers {
|
|
admin: SignerWithAddress;
|
|
}
|