jo-duchan/tapflow
Self-hosted iOS & Android simulator streaming for the whole team
09648bd ↗TypeScript★ 1,592 (+10 today)lists: typescriptvitest-dedup 0.9.0
- Tests analyzed
- 6,541
- in 422 files
- Compared
- 12.3%
- 5,738 tests could not be compared
- Findings
- 44
- 44 warnings
- Exact duplicates
- 0
- error severity
Top candidates
The largest findings, linked to the analyzed commit. Review them before changing any test: identical bodies can still run under different setups the analyzer does not model.
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
a newline begins a command > sees an invocation on a line of its own
scripts/__tests__/issueParentGate.test.mjs:270–277 ↗a command reached through a control condition > is seen after `elif`
scripts/__tests__/issueParentGate.test.mjs:490–494 ↗
- Parameterization candidatewarning
6 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 6 tests form one cluster, reported as a single finding instead of 15 pairwise findings (spanni.
which commands post a comment > a GraphQL mutation is identified by its contents, not its path > allows a query that only reads
scripts/__tests__/commentCardGate.test.mjs:117–120 ↗which commands post a comment > a GraphQL mutation is identified by its contents, not its path > sees the query behind an attached shorthand
scripts/__tests__/commentCardGate.test.mjs:129–132 ↗which commands post a comment > a GraphQL mutation is identified by its contents, not its path > allows a file it cannot read rather than blocking on it
scripts/__tests__/commentCardGate.test.mjs:156–159 ↗which commands post a comment > sees a review created through the API
scripts/__tests__/commentCardGate.test.mjs:191–194 ↗
and 2 more
- Parameterization candidatewarning
5 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 5 tests form one cluster, reported as a single finding instead of 10 pairwise findings (spanni.
a changeset that owes the root CHANGELOG an entry > is released by the marker
scripts/__tests__/changesetGateAccuracy.test.mjs:97–99 ↗a changeset that owes the root CHANGELOG an entry > accepts the marker with no reason after it
scripts/__tests__/changesetGateAccuracy.test.mjs:102–104 ↗a changeset that owes the root CHANGELOG an entry > is released by a marker after a closed fence
scripts/__tests__/changesetGateAccuracy.test.mjs:113–115 ↗a changeset that owes the root CHANGELOG an entry > is released by an unindented marker between four-space-indented fence-like lines
scripts/__tests__/changesetGateAccuracy.test.mjs:116–118 ↗
and 1 more
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
the door rejects what it cannot name > reads the relay-produced agents:listed as unknown rather than as a direction violation
packages/protocol/src/__tests__/validate.test.ts:55–60 ↗an empty correlator is not a correlator > rejects an empty sessionId
packages/protocol/src/__tests__/validate.test.ts:81–83 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
an empty correlator is not a correlator > rejects an empty sessionId
packages/protocol/src/__tests__/validate.test.ts:81–83 ↗the Envelope tier hands back no payload > refuses a forwarded reply whose correlator is missing
packages/protocol/src/__tests__/validate.test.ts:204–206 ↗
Findings by rule
- Parameterization candidate43
- Near-duplicate test1
Not compared
- context could not be resolved5,710
- vi.mock factory unreadable25
- imported helper unreadable3
No finding is reported for these tests, which does not mean they have no duplicates.
Appearances
| Day | Rank | Commit | Version | Tests | Compared | Findings | Duplicates |
|---|---|---|---|---|---|---|---|
| 2026-11-05 | 13 | 09648bd | 0.9.0 | 6,541 | 12.3% | 44 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/jo-duchan/tapflow.git
cd tapflow
git checkout 09648bdd46d68cec1d9a1e57da34472a839207c0
npx [email protected] .