mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
fix: duplication tests pointer state leaking between tests (#9414)
* fix: duplication tests pointer state leaking between tests * fix snapshots
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user