1234567891011121314151617 |
- import type { SignerWithAddress } from "@nomicfoundation/hardhat-ethers/dist/src/signer-with-address";
- import type { Greeter } from "../types/Greeter";
- type Fixture<T> = () => Promise<T>;
- declare module "mocha" {
- export interface Context {
- greeter: Greeter;
- loadFixture: <T>(fixture: Fixture<T>) => Promise<T>;
- signers: Signers;
- }
- }
- export interface Signers {
- admin: SignerWithAddress;
- }
|