File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # AGENTS.md
2+
3+ MockHTTP is an HTTP mock server for testing, built with Fastify and TypeScript.
4+
5+ ## Commands
6+
7+ - ` pnpm install ` — install dependencies (always use pnpm, not npm)
8+ - ` pnpm build ` — build the project
9+ - ` pnpm test ` — run linter and tests with coverage
10+ - ` pnpm lint ` — run Biome linter with auto-fixes
11+
12+ ## Testing
13+
14+ - Framework: Vitest with ` @vitest/coverage-v8 `
15+ - Tests are in the ` test/ ` directory
16+ - Linting: Biome (not ESLint or Prettier)
17+
18+ ## After Making Changes
19+
20+ - Run ` pnpm test ` to ensure all tests pass
21+ - Maintain 100% code coverage — add or update tests as needed
Original file line number Diff line number Diff line change 1+ @AGENTS .md
Original file line number Diff line number Diff line change 5151 },
5252 "homepage" : " https://github.com/jaredwray/mockhttp#readme" ,
5353 "devDependencies" : {
54- "@biomejs/biome" : " ^2.3.11 " ,
55- "@swc/core" : " ^1.15.8 " ,
54+ "@biomejs/biome" : " ^2.3.14 " ,
55+ "@swc/core" : " ^1.15.11 " ,
5656 "@types/html-escaper" : " ^3.0.4" ,
57- "@vitest/coverage-v8" : " ^4.0.16 " ,
57+ "@vitest/coverage-v8" : " ^4.0.18 " ,
5858 "rimraf" : " ^6.1.2" ,
5959 "tsup" : " ^8.5.1" ,
6060 "tsx" : " ^4.21.0" ,
6161 "typescript" : " ^5.9.3" ,
62- "vitest" : " ^4.0.16 "
62+ "vitest" : " ^4.0.18 "
6363 },
6464 "dependencies" : {
6565 "@fastify/cookie" : " ^11.0.2" ,
You can’t perform that action at this time.
0 commit comments