Skip to content

Commit

Permalink
test: isolate test environment from other suite
Browse files Browse the repository at this point in the history
  • Loading branch information
vp4242 committed Dec 17, 2024
1 parent d1b7819 commit f5937f9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/integration/negative-rebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ import { Snapshot } from "test/suite";
describe("Negative rebase", () => {
let ctx: ProtocolContext;
let snapshot: string;
let beforeTestSnapshot: string;
let ethHolder, stEthHolder: HardhatEthersSigner;

before(async () => {
beforeTestSnapshot = await Snapshot.take();
});

after(async () => {
await Snapshot.restore(beforeTestSnapshot);
});

beforeEach(async () => {
ctx = await getProtocolContext();

Expand Down

0 comments on commit f5937f9

Please sign in to comment.