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(setupWorker): warn on multiple "worker.start" and "worker.stop" calls #1238

Merged
merged 2 commits into from May 17, 2022

Conversation

kettanaito
Copy link
Member

@kettanaito
Copy link
Member Author

setupServer API has no logging on listen/close to begin with.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f7beffe:

Sandbox Source
MSW React Configuration

@kettanaito kettanaito merged commit cfe0709 into main May 17, 2022
@kettanaito kettanaito deleted the fix/duplicate-enable-messages branch May 17, 2022 15:39
@Capocaccia
Copy link

Thanks for the work on this!

@kettanaito
Copy link
Member Author

Thanks for suggesting this, @Capocaccia! I'm glad to push the DX of the library a little further.

@kettanaito
Copy link
Member Author

Released: v0.40.0 🎉

This has been released in v0.40.0!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

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.

Duplicate logging in developer console with worker.start() command
2 participants