test: skip test.yml in PRs (#8330)

This commit is contained in:
David Luzar
2024-08-06 16:04:04 +02:00
committed by GitHub
parent f19ce30dfe
commit 232242d2e9
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
name: Tests
on:
pull_request:
push:
branches: master

View File

@ -90,7 +90,7 @@ describe("Test <MermaidToExcalidraw/>", () => {
it("should open mermaid popup when active tool is mermaid", async () => {
const dialog = document.querySelector(".ttd-dialog")!;
await waitFor(() => dialog.querySelector("canvas"));
await waitFor(() => expect(dialog.querySelector("canvas")).not.toBeNull());
expect(dialog.outerHTML).toMatchSnapshot();
});