Files
smart-project/server/vitest.config.ts
jesxion 0c27b26f4a feat: setup backend workspace with Express and health endpoint
- Add server/package.json with Express, TypeScript, and Vitest
- Configure TypeScript with strict mode
- Add Vitest configuration for testing
- Create Express app with health endpoint
- Add health endpoint test (GET /health returns { ok: true })
- All tests passing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-24 10:25:26 +08:00

9 lines
140 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
},
});