Testing
Run npm test for unit tests and npm run check for Svelte validation. Browser
smoke tests require a running server and can be pointed at it with UI_BASE_URL:
UI_BASE_URL=http://127.0.0.1:4174 npm run test:ui
Use npm run docs:check after documentation changes. It refreshes generated
references, validates metadata, internal links, and referenced code paths, then
runs mkdocs build --strict. In CI, changed tracked files under
docs/generated/ after generation are reported as stale output.