mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Factor out collaboration code (#2313)
Co-authored-by: Lipis <lipiridis@gmail.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
d8a0dc3b4d
commit
e617ccc252
41 changed files with 2250 additions and 2018 deletions
|
@ -9,7 +9,7 @@ import {
|
|||
fireEvent,
|
||||
GlobalTestState,
|
||||
} from "./test-utils";
|
||||
import App from "../components/App";
|
||||
import Excalidraw from "../packages/excalidraw/index";
|
||||
import { setLanguage } from "../i18n";
|
||||
import { setDateTimeForTests } from "../utils";
|
||||
import { ExcalidrawElement } from "../element/types";
|
||||
|
@ -97,7 +97,7 @@ beforeEach(async () => {
|
|||
finger2.reset();
|
||||
|
||||
await setLanguage("en.json");
|
||||
render(<App offsetLeft={0} offsetTop={0} />);
|
||||
await render(<Excalidraw offsetLeft={0} offsetTop={0} />);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue