mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
remove eempty lines
This commit is contained in:
parent
d565413082
commit
4843c49556
1 changed files with 0 additions and 4 deletions
|
@ -112,9 +112,7 @@ describe("<Excalidraw/>", () => {
|
|||
expect(h.state.name).toContain(`${t("labels.untitled")}`);
|
||||
|
||||
fireEvent.click(queryByTestId(container, "export-button")!);
|
||||
|
||||
const name = document.querySelector(".ExportDialog__name span");
|
||||
|
||||
expect(name?.hasAttribute("data-type")).toBe(true);
|
||||
});
|
||||
|
||||
|
@ -122,9 +120,7 @@ describe("<Excalidraw/>", () => {
|
|||
const { container } = await render(<Excalidraw name="test" />);
|
||||
|
||||
fireEvent.click(queryByTestId(container, "export-button")!);
|
||||
|
||||
const name = document.querySelector(".ExportDialog__name span");
|
||||
|
||||
expect(name?.hasAttribute("data-type")).toBe(false);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue