mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04: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:
parent
a5d6939826
commit
b5d60973b7
6 changed files with 28 additions and 24 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue