diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-19 14:08:33 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-19 14:08:33 +0100 |
| commit | 54bbc06bd84437c6b38e2f6c57060f21a8318720 (patch) | |
| tree | a0f9beb425829e304cdf239709e7d23a13b0fcc8 /tests/test.ts | |
| parent | 06ce8fbab52c5c25a67a1518f1888b083b5edde3 (diff) | |
| download | auroraklinikken.no-54bbc06bd84437c6b38e2f6c57060f21a8318720.tar.xz auroraklinikken.no-54bbc06bd84437c6b38e2f6c57060f21a8318720.zip | |
.
Diffstat (limited to 'tests/test.ts')
| -rw-r--r-- | tests/test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test.ts b/tests/test.ts index 5816be4..5076f52 100644 --- a/tests/test.ts +++ b/tests/test.ts @@ -1,6 +1,6 @@ -import { expect, test } from '@playwright/test'; +import { expect, test } from "@playwright/test"; -test('index page has expected h1', async ({ page }) => { - await page.goto('/'); - await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible(); +test("index page has expected h1", async ({ page }) => { + await page.goto("/"); + await expect(page.getByRole("heading", { name: "Welcome to SvelteKit" })).toBeVisible(); }); |
