Skip to content

Commit

Permalink
Reset network before Pauser test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-chrzan committed Oct 18, 2023
1 parent 18c12dd commit 3aafc89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test-ts/pauser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ import { parseUnits } from "ethers/lib/utils";
import hre from "hardhat";
import { PausableTest } from "../typechain-types/PausableTest";
import { Pauser } from "../typechain-types/Pauser";
import { randomSigner } from "./utils";
import { randomSigner, resetNetwork } from "./utils";

describe("Pauser", () => {
let pauser: Pauser;
let pausableTest: PausableTest;
let owner: SignerWithAddress;
let nonOwner: SignerWithAddress;

beforeEach(async () => {
before(async () => {
await resetNetwork();

await hre.deployments.fixture("TestPauser");
pauser = await hre.ethers.getContract("Pauser");
await hre.deployments.fixture("TestPausable");
Expand Down

0 comments on commit 3aafc89

Please sign in to comment.