diff options
Diffstat (limited to 'tests')
| -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(); }); |
