From 2a8c6c4d1f600ecb98812f05e224b1cba08fca09 Mon Sep 17 00:00:00 2001 From: "dobby-yivi-agent[bot]" <275734547+dobby-yivi-agent[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 19:05:09 +0000 Subject: [PATCH] chore: remove stale Playwright smoke test The default SvelteKit template smoke test in tests/test.ts asserted an h1 of "Welcome to SvelteKit", which the marketing landing page has not rendered for a long time. npm test is not wired into CI, so the failing assertion was invisible and the single-test suite gave a false impression of coverage. Remove tests/test.ts and the unused "test" npm script. Real Playwright coverage is tracked separately in #44; playwright.config.ts and the @playwright/test dependency are kept as scaffolding for that work. Closes #217 Co-Authored-By: Claude Opus 4.8 --- package.json | 1 - tests/test.ts | 6 ------ 2 files changed, 7 deletions(-) delete mode 100644 tests/test.ts diff --git a/package.json b/package.json index 1f9508d..c5628b8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "dev": "vite dev", "build": "vite build", "preview": "vite preview", - "test": "playwright test", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "lint": "prettier --check . && eslint .", diff --git a/tests/test.ts b/tests/test.ts deleted file mode 100644 index 1ce937c..0000000 --- a/tests/test.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { expect, test } from '@playwright/test' - -test('index page has expected h1', async ({ page }) => { - await page.goto('/') - expect(await page.textContent('h1')).toBe('Welcome to SvelteKit') -})