From d4b76831475d233bced6028dfc6366e2ae2211bd Mon Sep 17 00:00:00 2001 From: gitea Date: Sat, 14 Feb 2026 12:25:45 +0100 Subject: [PATCH] update readme --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 54a2631..ced6146 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,26 @@ This template should help get you started developing with Svelte in Vite. +## Running the app + +```bash +npm install +npm run dev +``` + +## Running tests + +- **Watch mode** (re-runs on file changes): + `npm run test` + +- **Single run** (CI-friendly): + `npm run test:run` + +- **Coverage report**: + `npm run test:coverage` + +Tests use Vitest and `@testing-library/svelte`. Place test files next to the code they cover (e.g. `Component.test.js` beside `Component.svelte`) or in a `__tests__` directory. + ## Recommended IDE Setup [VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).