mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-25 10:21:17 +02:00
remove eempty lines
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user