fix: duplication tests pointer state leaking between tests

This commit is contained in:
dwelle 2025-04-18 10:59:17 +02:00
parent a5d6939826
commit 2114a799af
5 changed files with 14 additions and 10 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");