Description
lib/sentry.ts wraps error-reporting calls used throughout the app but has zero unit test coverage.
Location
lib/sentry.ts
Task
Add tests asserting captureError/related helpers call through to the underlying Sentry SDK with the expected arguments (mocking @sentry/nextjs).
Good for contributors because
Small wrapper module, good first testing task once the mocking pattern is set up.
Description
lib/sentry.tswraps error-reporting calls used throughout the app but has zero unit test coverage.Location
lib/sentry.tsTask
Add tests asserting
captureError/related helpers call through to the underlying Sentry SDK with the expected arguments (mocking@sentry/nextjs).Good for contributors because
Small wrapper module, good first testing task once the mocking pattern is set up.