Skip to content

Add unit tests for lib/sentry.ts #734

Description

@Austinaminu2

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programfrontendNext.js frontendtestingTests and QA

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions