mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-24 01:40:41 +02:00
remove convertToExcalidrawElements call from restore
This commit is contained in:
@@ -32,7 +32,7 @@ describe("embedding scene data", () => {
|
||||
const importedData: ImportedDataState = JSON.parse(parsedString);
|
||||
|
||||
expect(sourceElements.map((x) => x.id)).toEqual(
|
||||
convertToExcalidrawElements(importedData.elements)?.map((el) => el.id),
|
||||
importedData.elements?.map((el) => el.id),
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -61,7 +61,7 @@ describe("embedding scene data", () => {
|
||||
const importedData: ImportedDataState = JSON.parse(parsedString);
|
||||
|
||||
expect(sourceElements.map((x) => x.id)).toEqual(
|
||||
convertToExcalidrawElements(importedData.elements)?.map((el) => el.id),
|
||||
importedData.elements?.map((el) => el.id),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user