fix: duplication tests pointer state leaking between tests (#9414)

* fix: duplication tests pointer state leaking between tests

* fix snapshots
This commit is contained in:
David Luzar 2025-04-18 11:11:12 +02:00 committed by GitHub
parent a5d6939826
commit b5d60973b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 28 additions and 24 deletions

View file

@ -94,11 +94,6 @@ vi.mock(
},
);
vi.mock("nanoid", () => {
return {
nanoid: vi.fn(() => "test-id"),
};
});
// ReactDOM is located inside index.tsx file
// as a result, we need a place for it to render into
const element = document.createElement("div");