From 5a3fc1d8ecdc1630293a4f8542761e1d51cc162f Mon Sep 17 00:00:00 2001 From: Lawrence Wagerfield Date: Thu, 4 Jul 2024 14:56:54 +0100 Subject: [PATCH] Fix spec --- package.json | 3 --- tests/e2e/specs/app.spec.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index b404482..d854d8e 100644 --- a/package.json +++ b/package.json @@ -61,9 +61,6 @@ "*/**/*.{js,jsx,ts,tsx}": [ "eslint" ], - "*/**/*.{js,jsx,ts,tsx,test}": [ - "bash -c \"npm run test\"" - ], "src/**/*.{ts,tsx}": [ "bash -c \"tsc --noEmit\"" ], diff --git a/tests/e2e/specs/app.spec.ts b/tests/e2e/specs/app.spec.ts index b6b3f06..1eac345 100644 --- a/tests/e2e/specs/app.spec.ts +++ b/tests/e2e/specs/app.spec.ts @@ -7,7 +7,7 @@ describe("upload-widget-vue sandbox", () => { }); it("should contain a file upload button", async () => { await App.open(); - await App.modalLauncher.click(); + await (await App.modalLauncher).click(); await expect(App.modalButton).toHaveText("Upload a File"); }); });