Skip to content
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

fix: update with-msw example to function properly for all use cases #38050

Merged
merged 3 commits into from
Jul 6, 2022

Conversation

dustinsgoodman
Copy link
Contributor

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have helpful link attached, see contributing.md

Documentation / Examples

  • Make sure the linting passes by running pnpm lint
  • The examples guidelines are followed from our contributing doc

I had opened mswjs/data#226 to resolve an issue with MSW and its related libraries. One of the maintainers pointed me to this: mswjs/msw#1227 (comment). Turns out that the example in this repository uses a different require strategy that doesn't resolve properly under all conditions. This PR simply updates the example to the MSW maintainer's recommendation.

Let me know if there's more needed to get this merged. I noticed the existing example is TypeScript which deviates from the example guidelines so I can make those updates if needed.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
marsam Mario Rodas
@ijjk ijjk added the examples Issue was opened via the examples template. label Jun 27, 2022
kodiakhq bot and others added 2 commits July 6, 2022 14:52

Verified

This commit was signed with the committer’s verified signature. The key has expired.
marsam Mario Rodas

Verified

This commit was signed with the committer’s verified signature. The key has expired.
marsam Mario Rodas
@ijjk ijjk merged commit 7f6b8ac into vercel:canary Jul 6, 2022
@dustinsgoodman dustinsgoodman deleted the fix-with-msw-example branch July 6, 2022 19:42
@dustinsgoodman
Copy link
Contributor Author

🎉 Thanks everyone!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue was opened via the examples template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants