Fix build

This commit is contained in:
Marcel Mraz 2025-03-19 21:59:42 +01:00
parent 2569691cc6
commit ddac2e969a
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
14 changed files with 29 additions and 82 deletions

View file

@ -11,8 +11,6 @@ import {
import { deepCopyElement } from "@excalidraw/element/newElement";
import { InvalidFractionalIndexError } from "@excalidraw/excalidraw/errors";
import { API } from "@excalidraw/excalidraw/tests/helpers/api";
import type {
@ -20,6 +18,8 @@ import type {
FractionalIndex,
} from "@excalidraw/element/types";
import { InvalidFractionalIndexError } from "../src/fractionalIndex";
describe("sync invalid indices with array order", () => {
describe("should NOT sync empty array", () => {
testMovedIndicesSync({

View file

@ -1,4 +1,4 @@
import { getLineHeight } from "@excalidraw/excalidraw/fonts/FontMetadata";
import { getLineHeight } from "@excalidraw/common/font-metadata";
import { API } from "@excalidraw/excalidraw/tests/helpers/api";
import { FONT_FAMILY } from "@excalidraw/common";