Fix rest of the tests

This commit is contained in:
Marcel Mraz 2025-03-20 23:35:46 +01:00
parent 40ff1b08ae
commit 7744284254
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
7 changed files with 47 additions and 47 deletions

View file

@ -9,7 +9,7 @@ const EPSILON_DIGITS = 3;
// below tests. In Jest this wasn't needed as global override was possible
// but vite doesn't allow that hence we need to mock
vi.mock(
"../constants.ts",
"@excalidraw/common",
//@ts-ignore
async (importOriginal) => {
const module: any = await importOriginal();