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

@ -12,7 +12,7 @@ import {
getFontString,
getUpdatedTimestamp,
isTestEnv,
getLineHeight
getLineHeight,
} from "@excalidraw/common";
import type { Radians } from "@excalidraw/math";

View file

@ -39,7 +39,6 @@ import {
import { getContainingFrame } from "@excalidraw/element/frame";
import { getCornerRadius } from "@excalidraw/element/shapes";
import type {
ExcalidrawElement,
ExcalidrawTextElement,

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";