- package.json with express, better-sqlite3, mqtt, pg, bcrypt, jsonwebtoken, cors - tsconfig.json targeting ES2022/commonjs - src/index.ts with GET /health on port 4000 - vitest.config.ts for test runner configuration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
201 B
TypeScript
11 lines
201 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.ts'],
|
|
testTimeout: 10000,
|
|
},
|
|
});
|