Skip to content

test(nuxt): Cover pages router instrumentation - #24583

Draft
vansh-nagar wants to merge 1 commit into
getsentry:developfrom
vansh-nagar:fix/nuxt-pages-router-tests
Draft

vansh-nagar wants to merge 1 commit into
getsentry:developfrom
vansh-nagar:fix/nuxt-pages-router-tests

Conversation

@vansh-nagar

Copy link
Copy Markdown

The Nuxt client plugin's pages-router integration had no direct unit coverage after the earlier SDK-level BrowserTracing assertion was removed.

This adds focused checks that the initialized client receives BrowserTracing with Nuxt's router and path-based route labels, while an uninitialized client does not create the integration.

Fixes #13813

Fixes getsentry#13813

Co-Authored-By: OpenAI Codex <codex@openai.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Nuxt pages router unit tests

1 participant