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:
Aakansha Doshi 2020-12-05 20:00:53 +05:30 committed by GitHub
parent d8a0dc3b4d
commit e617ccc252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 2250 additions and 2018 deletions

View file

@ -1,6 +1,6 @@
import React from "react";
import { render, waitFor } from "./test-utils";
import App from "../components/App";
import ExcalidrawApp from "../excalidraw-app";
import { API } from "./helpers/api";
import { MIME_TYPES } from "../constants";
import { LibraryItem } from "../types";
@ -8,9 +8,9 @@ import { LibraryItem } from "../types";
const { h } = window;
describe("library", () => {
beforeEach(() => {
beforeEach(async () => {
h.library.resetLibrary();
render(<App />);
await render(<ExcalidrawApp />);
});
it("import library via drag&drop", async () => {