mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
21 lines
443 B
TypeScript
21 lines
443 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
setupFiles: ['./test/setup.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'html'],
|
|
},
|
|
env: {
|
|
NODE_ENV: 'test',
|
|
PORT: '3001',
|
|
DATABASE_PATH: ':memory:',
|
|
AUTH_SECRET: 'test-secret-for-encryption',
|
|
WORKSPACE_PATH: '/tmp/test-workspace',
|
|
},
|
|
},
|
|
})
|