🧩 Background
?size=small, ?size=large are documented URL parameters with no test coverage in app/api/streak/route.test.ts.
🎯 Objective
Add tests verifying that ?size=small produces a 400×280 SVG and ?size=large produces an 800×560 SVG.
📁 Files to touch
app/api/streak/route.test.ts
🛠️ Implementation steps
- Assert
width="400" and height="280" appear in the small SVG body.
- Assert
width="800" and height="560" appear in the large SVG body.
- Assert medium (default) produces
width="600".
✅ Definition of done
🧩 Background
?size=small,?size=largeare documented URL parameters with no test coverage inapp/api/streak/route.test.ts.🎯 Objective
Add tests verifying that
?size=smallproduces a 400×280 SVG and?size=largeproduces an 800×560 SVG.📁 Files to touch
app/api/streak/route.test.ts🛠️ Implementation steps
width="400"andheight="280"appear in the small SVG body.width="800"andheight="560"appear in the large SVG body.width="600".✅ Definition of done