Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
There are overlapping integration suites covering the same indexer → stream flows:
backend/src/__tests__/integration/streams.test.ts (242 lines)
backend/tests/integration/streams.test.ts (425 lines)
backend/tests/integration/stream-lifecycle.test.ts (701 lines)
The first two share near-identical describe('Indexer → stream_created …') blocks. The src/__tests__/ location is also inconsistent with the rest of the suite (everything else lives under tests/), yet vitest.config.ts includes both tests/** and src/__tests__/**. This duplicates run time and maintenance.
Acceptance criteria
Files to touch
backend/src/__tests__/integration/streams.test.ts
backend/tests/integration/streams.test.ts
backend/tests/integration/stream-lifecycle.test.ts
backend/vitest.config.ts
Out of scope
Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
There are overlapping integration suites covering the same indexer → stream flows:
backend/src/__tests__/integration/streams.test.ts(242 lines)backend/tests/integration/streams.test.ts(425 lines)backend/tests/integration/stream-lifecycle.test.ts(701 lines)The first two share near-identical
describe('Indexer → stream_created …')blocks. Thesrc/__tests__/location is also inconsistent with the rest of the suite (everything else lives undertests/), yetvitest.config.tsincludes bothtests/**andsrc/__tests__/**. This duplicates run time and maintenance.Acceptance criteria
src/__tests__/integration/streams.test.tsintotests/integration/before deletingvitest.config.tsincludeto a single test rootnpx vitest runis green with no lost coverageFiles to touch
backend/src/__tests__/integration/streams.test.tsbackend/tests/integration/streams.test.tsbackend/tests/integration/stream-lifecycle.test.tsbackend/vitest.config.tsOut of scope