mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Don't share collab types with core (#3353)
* fix: Don't share collab types with core * fix * remove * fix
This commit is contained in:
parent
3d047d57a7
commit
25fd275158
9 changed files with 27 additions and 18 deletions
|
@ -60,7 +60,7 @@ describe("collaboration", () => {
|
|||
]);
|
||||
expect(API.getStateHistory().length).toBe(1);
|
||||
});
|
||||
h.collab.openPortal();
|
||||
window.collab.openPortal();
|
||||
await waitFor(() => {
|
||||
expect(h.elements).toEqual([expect.objectContaining({ id: "A" })]);
|
||||
expect(API.getStateHistory().length).toBe(1);
|
||||
|
|
|
@ -100,5 +100,5 @@ const initLocalStorage = (data: ImportedDataState) => {
|
|||
};
|
||||
|
||||
export const updateSceneData = (data: SceneData) => {
|
||||
(window.h.collab as any).excalidrawAPI.updateScene(data);
|
||||
(window.collab as any).excalidrawAPI.updateScene(data);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue