benvinegar / counterscale

Scalable web analytics you run yourself on Cloudflare
https://counterscale.dev
MIT License
1.52k stars 66 forks source link

dashboard.test.tsx throws exception most of the time #21

Closed benvinegar closed 10 months ago

benvinegar commented 10 months ago

I noticed this because Codecov reports that routes/dashboard.tsx was only 15% covered, but the test should cover way more.

This is visible in the job output: https://github.com/benvinegar/counterscale/actions/runs/7735648678/job/21091668235#step:7:32

I say "most of the time" because there are occasions when the test seems to run just fine (in local development) without any errors.