- Add DB_PROVIDER=memory to vitest config for diagnostics tests - Fix flaky timestamp comparison in 'should update a session' test - Add 10ms delay between create and update - Use toBeGreaterThanOrEqual instead of strict inequality - All 17 diagnostics tests now pass
13 lines
222 B
TypeScript
13 lines
222 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['src/**/*.test.ts'],
|
|
env: {
|
|
DB_PROVIDER: 'memory',
|
|
},
|
|
},
|
|
});
|