lnkiai/m3e-canvas
Sketch Material 3 Expressive screens in the browser and turn them into vibe-coding prompts.
4886892 ↗TypeScript★ 10,575 (+103 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 629
- in 23 files
- Compared
- 99.8%
- 1 tests could not be compared
- Findings
- 23
- 23 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.
- 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.
complete on the claude path > joins only the text blocks of the reply
lib/ai.test.ts:31–36 ↗complete on the claude path > returns an empty string for an empty content array instead of throwing
lib/ai.test.ts:38–41 ↗
- 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.
complete on the claude path > throws long when the reply stops at max_tokens
lib/ai.test.ts:43–46 ↗complete on the claude path > throws refusal when the model refuses
lib/ai.test.ts:48–51 ↗
- 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.
complete on the openai-compatible path > throws long when finish_reason is length
lib/ai.test.ts:95–98 ↗complete on the openai-compatible path > throws empty when the reply has no content
lib/ai.test.ts:105–108 ↗
- 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.
proposeBehavior > keeps code-fence markers inside the returned value
lib/ai.test.ts:116–122 ↗proposeBehavior > still parses a reply whose fences only fit the JSON once stripped
lib/ai.test.ts:124–130 ↗
- 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.
hexToRgb / rgbToHex > parses a 6-digit hex without leading #
lib/color.extended.test.ts:28–30 ↗hexToRgb / rgbToHex > parses a 6-digit hex with leading # and trims whitespace
lib/color.extended.test.ts:32–34 ↗
Findings by rule
- Parameterization candidate23
Not compared
- context could not be resolved1
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-18 | 13 | 4886892 | 0.10.0 | 629 | 99.8% | 23 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/lnkiai/m3e-canvas.git
cd m3e-canvas
git checkout 488689262a9b42344e0819282fbce7ac7ebef8e3
npx [email protected] .