Skip to content

feat(e2e): silence server logs and allow customising log level#1735

Merged
danielroe merged 2 commits into
mainfrom
feat/server-logs
Jul 17, 2026
Merged

feat(e2e): silence server logs and allow customising log level#1735
danielroe merged 2 commits into
mainfrom
feat/server-logs

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

this silences logs printed in the console when running a server e2e test, but also gives a way for tests to access this logging data (which I think previously wasn't possible)

additionally, it's possible to set the logLevel (previously hard-coded at 1)

@danielroe
danielroe requested a review from yamachi4416 July 15, 2026 12:30
@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/server-logs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Jul 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/test-utils@1735
npm i https://pkg.pr.new/vitest-environment-nuxt@1735

commit: 8a679db

@danielroe
danielroe merged commit 608a14e into main Jul 17, 2026
13 checks passed
@danielroe
danielroe deleted the feat/server-logs branch July 17, 2026 17:58
@github-actions github-actions Bot mentioned this pull request Jul 17, 2026
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.

2 participants