From 36ffd6e7686488632f9e06b1396c825964fc2a7c Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Tue, 18 Aug 2026 09:21:16 +0200 Subject: [PATCH] docs: CONTRIBUTING lists the test commands instead of denying a suite The setup section still claimed no test suite existed. It now names check, test, test:lo and test:smoke, and what CI runs of them; the linter note stays, since none is configured. --- CONTRIBUTING.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5ea0ad2..5da1b93 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,9 +12,21 @@ npm run build # production build → dist/ npm run preview # serve the dist/ build locally ``` -There is currently no test suite or linter configured. Please keep changes -focused, match the surrounding code style, and describe what you changed and why -in your pull request. +## Tests + +```bash +npm run check # svelte-check type-check +npm test # Vitest suite (tests/**/*.test.ts, jsdom) +npm run test:lo # LibreOffice round-trip leg — self-skips without `soffice` +npm run test:smoke # boots the dist/ build in headless Chromium +``` + +CI runs `check` + `test` on every pull request, plus the LibreOffice round-trip +and the headless smoke test in separate jobs. Please make sure `npm run check` +and `npm test` pass locally before opening a PR. + +There is no linter or formatter — match the surrounding code style, keep changes +focused, and describe what you changed and why in your pull request. ## License of the project