Skip to content

Conversation

@david-crespo
Copy link
Collaborator

Closes #2072. Realized it was a lot easier than I thought while working on #2702.

2025-02-19-mock-serial.mp4

@vercel
Copy link

vercel bot commented Feb 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Feb 19, 2025 11:06pm

: 'ws://127.0.0.1:' + (apiMode === 'msw' ? 6036 : 12220),
changeOrigin: true,
ws: true,
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This didn't work unless you manually ran tools/deno/mock-serial-console.ts. Now it all just works.

@david-crespo david-crespo enabled auto-merge (squash) February 19, 2025 22:33
@david-crespo
Copy link
Collaborator Author

david-crespo commented Feb 19, 2025

lmao (from the chrome e2e failure trace)

image

@david-crespo david-crespo merged commit db94dea into main Feb 19, 2025
7 checks passed
@david-crespo david-crespo deleted the msw-serial branch February 19, 2025 23:16
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.

Mock serial console with MSW (once they add websockets)

2 participants