Skip to content

Commit 74b45ab

Browse files
authored
Merge pull request #118 from jaredwray/chore-upgrading-vitest-and-support-modules-to-latest
chore: upgrading vitest and support modules to latest
2 parents 3786cb1 + 59708a0 commit 74b45ab

4 files changed

Lines changed: 419 additions & 412 deletions

File tree

AGENTS.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@AGENTS.md

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@
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",

0 commit comments

Comments
 (0)