From def1897723310670779ff725b47595751f44df2d Mon Sep 17 00:00:00 2001 From: Julian Lechner Date: Tue, 6 Oct 2026 20:45:05 +0200 Subject: [PATCH] docs: describe Vitest test setup Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 56dd79e..e3797ae 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ ## Project Context This is an Angular portfolio application using Angular 21, TypeScript, SCSS, -Karma/Jasmine tests, and static hosting for production output. Production +Vitest tests, and static hosting for production output. Production application code lives in `src/app`; the client entry point lives in `src/main.ts`. @@ -32,7 +32,7 @@ maintain generated or copied output in `public/assets/optimized` or `dist`. - `npm run build`: generates assets, builds the production app, and copies static root files. Run this only when explicitly requested. - `npm start`: serves the built static app through `scripts/static-server.mjs`. -- `npm test`: generates assets and starts Angular tests with Karma/Jasmine. +- `npm test`: generates assets and starts Angular tests with Vitest. - `npm run check`: runs linting, format checks, version checks, and source text checks. Always use this as the final validation. - `npm run fix`: places version data, runs ESLint fixes, fixes source text, and diff --git a/README.md b/README.md index c08b385..c78982d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Visit the live website at [fraujulian.xyz](https://fraujulian.xyz/). - Angular 22 - TypeScript - SCSS -- Karma and Jasmine for tests +- Vitest for tests ## Features @@ -59,7 +59,7 @@ built site at `http://localhost:3000`. npm run test ``` -This generates assets and runs the Karma/Jasmine tests in ChromeHeadless. +This generates assets and runs the Vitest tests in jsdom. ## Docs