mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-20 22:14:36 +00:00
parser.test.ts (a)/(f): createJsonlSession stamped events at a fixed 2026-05-01 that aged past the 90-day retention window, pruning to zero; date them relative to now. cli-durable-totals: seedLiveTodaySession stamped noon, which is in the future on a pre-noon run so the provider-scoped today slice (ends at now) dropped it while the all path (ends at range end) kept it; seed a past-today time. cache-refresh-lock and other integration tests starve under a saturated parallel run and fail closed; add a small global retry and raise the two most load-sensitive lock tests. Test-only; no production code changed.
10 lines
373 B
TypeScript
10 lines
373 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
// Runs once per worker before any test. Scrubs the developer's shell so
|
|
// session-discovery env vars (CLAUDE_CONFIG_DIRS, HOME, XDG_*, every
|
|
// provider-specific *_HOME) don't bleed real local data into fixtures.
|
|
setupFiles: ['./tests/setup/env-isolation.ts'],
|
|
},
|
|
})
|