diff --git a/test/integration/negative-rebase.ts b/test/integration/negative-rebase.ts index c9a6925eb..dfa0de435 100644 --- a/test/integration/negative-rebase.ts +++ b/test/integration/negative-rebase.ts @@ -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();