Add MSW infrastructure: handlers, fixtures, request-log, and Vitest setup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 07:38:02 +08:00
parent 0ff03ec0ef
commit 7e052f0d36
30 changed files with 5144 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/**
* MSW server for Node.js (Vitest).
* @module mocks/node
*/
import { setupServer } from "msw/node";
import { handlers } from "./handlers/index.js";
export const server = setupServer(...handlers);