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:
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user