chore: upgrade to react@19 (#9182)

This commit is contained in:
David Luzar 2025-02-25 19:18:42 +01:00 committed by GitHub
parent 9ee0b8ffcb
commit 31e8476c78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 2774 additions and 2828 deletions

View file

@ -13,6 +13,7 @@ import type { NormalizedZoomValue } from "../../types";
import { DEFAULT_SIDEBAR, FONT_FAMILY, ROUNDNESS } from "../../constants";
import { newElementWith } from "../../element/mutateElement";
import { vi } from "vitest";
import { pointFrom } from "../../../math";
describe("restoreElements", () => {
const mockSizeHelper = vi.spyOn(sizeHelpers, "isInvisiblySmallElement");
@ -103,6 +104,7 @@ describe("restoreElements", () => {
const freedrawElement = API.createElement({
type: "freedraw",
id: "id-freedraw01",
points: [pointFrom(0, 0), pointFrom(10, 10)],
});
const restoredFreedraw = restore.restoreElements(