- 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>
9 lines
140 B
TypeScript
9 lines
140 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
},
|
|
});
|