a2ui-project/a2ui
Open-source generative UI framework: agents stream layout data, and apps render it with native components in React, Angular, Lit, Flutter, SwiftUI and Jetpack Compose.
3ed9601 ↗TypeScript★ 17,381 (+54 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 1,455
- in 643 files
- Compared
- 98.1%
- 28 tests could not be compared
- Findings
- 40
- 38 warnings
- Exact duplicates
- 2
- 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.
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Divider Component > Basic Rendering > should render an hr element
typescript/renderers/react/tests/v0_8/unit/components/Divider.test.tsx:36–47 ↗Divider Component > Theme Support > should render hr element with theme classes applied
typescript/renderers/react/tests/v0_8/unit/components/Divider.test.tsx:109–121 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Tabs Component > Basic Rendering > should render section element inside wrapper
typescript/renderers/react/tests/v0_8/unit/components/Tabs.test.tsx:91–104 ↗Tabs Component > Theme Support > should render section container (theme classes empty by design)
typescript/renderers/react/tests/v0_8/unit/components/Tabs.test.tsx:439–454 ↗
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
Component Updates > should update already-rendered surface with surfaceUpdate alone (no new beginRendering)
typescript/renderers/react/tests/v0_8/integration/components.test.tsx:31–88 ↗Property Updates via surfaceUpdate > Content Components > should update Text content
typescript/renderers/react/tests/v0_8/integration/property-updates.test.tsx:33–87 ↗
- Parameterization candidatewarning
9 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 9 tests form one cluster, reported as a single finding instead of 36 pairwise findings (spanni.
web-frame-messages > IncomingWebFrameMessageSchema > Action message > rejects an Action message missing the required action field
samples/community/client/angular/projects/mcp_calculator/src/a2ui-catalog/web-frame-messages.spec.ts:83–90 ↗web-frame-messages > IncomingWebFrameMessageSchema > Action message > rejects an Action message with non-string action field
samples/community/client/angular/projects/mcp_calculator/src/a2ui-catalog/web-frame-messages.spec.ts:92–99 ↗web-frame-messages > IncomingWebFrameMessageSchema > DataModelChange message > rejects a DataModelChange message missing the key field
samples/community/client/angular/projects/mcp_calculator/src/a2ui-catalog/web-frame-messages.spec.ts:150–157 ↗web-frame-messages > IncomingWebFrameMessageSchema > DataModelChange message > rejects a DataModelChange message with non-string subpath
samples/community/client/angular/projects/mcp_calculator/src/a2ui-catalog/web-frame-messages.spec.ts:171–180 ↗
and 5 more
- 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.
A2uiCompilationError > formats message with message only
typescript/agents/a2ui_agent/tests/unit/errors.test.ts:27–30 ↗A2uiCompilationError > formats message with line only
typescript/agents/a2ui_agent/tests/unit/errors.test.ts:32–38 ↗A2uiCompilationError > formats message with line and column
typescript/agents/a2ui_agent/tests/unit/errors.test.ts:40–47 ↗A2uiCompilationError > formats message with line, column, and help message
typescript/agents/a2ui_agent/tests/unit/errors.test.ts:49–57 ↗
and 2 more
Findings by rule
- Parameterization candidate37
- Duplicate test2
- Cross-file duplicate1
Not compared
- context could not be resolved28
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-15 | 5 | 3ed9601 | 0.10.0 | 1,455 | 98.1% | 40 | 2 |
| 2026-11-14 | 5 | 3ed9601 | 0.10.0 | 1,455 | 98.1% | 40 | 2 |
| 2026-11-01 | 14 | 825beac | 0.9.0 | 1,241 | 96.2% | 59 | 2 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/a2ui-project/a2ui.git
cd a2ui
git checkout 3ed9601862ecc78027e20ac80ad8b1b98a5d9079
npx [email protected] .