Skip to content

chore(deps): use catalog for ws in tests #7722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 23, 2025

Conversation

hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Mar 23, 2025

Description

(Supersedes) Closes #7716

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Copy link

netlify bot commented Mar 23, 2025

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0795671
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/67dfad8fd90e130008e3e49d
😎 Deploy Preview https://deploy-preview-7722--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -54,7 +54,7 @@ test('--inspect-brk stops at test file', async () => {
})

async function createChannel(url: string) {
const ws = new WebSocket(url)
const ws = new WebSocket(url, { allowSynchronousEvents: false })
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test times out on linux due to the breaking change in https://github.com/websockets/ws/releases/tag/8.17.0 websockets/ws#2221.

I can reproduce it locally too. For now, I flipped it back, so it works same.

@hi-ogawa hi-ogawa marked this pull request as ready for review March 23, 2025 06:48
@sheremet-va sheremet-va merged commit b01a2bf into vitest-dev:main Mar 23, 2025
13 checks passed
@hi-ogawa hi-ogawa deleted the chore-ws-catalog branch March 23, 2025 07:00
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