Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cascade/env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CI=true
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/cascade
DATABASE_SSL=false
TEST_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/cascade_test
REDIS_URL=redis://localhost:6379
TEST_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/cascade_test
7 changes: 6 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ export default defineConfig({

// ── Unit: Core ──────────────────────────────────────────────────
// ~159 files β€” agents, gadgets, config, db, utils, cli, pm, github,
// jira, trello, web, webhook, queue, and top-level unit tests
// jira, trello, web, webhook, queue, and top-level unit tests.
// isolate: false skips per-file module re-evaluation, reducing the
// collect phase overhead. Safe here because these tests use simple
// mocks with no inter-test shared state. Files that use
// vi.useFakeTimers() all call vi.useRealTimers() in afterEach/afterAll.
{
test: {
name: 'unit-core',
Expand All @@ -120,6 +124,7 @@ export default defineConfig({
'tests/unit/*.test.ts',
],
...sharedTest,
isolate: false,
},
resolve,
},
Expand Down
Loading