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

[MSW] Stay integrated to browser #180

Closed
Mysh3ll opened this issue Mar 22, 2022 · 2 comments
Closed

[MSW] Stay integrated to browser #180

Mysh3ll opened this issue Mar 22, 2022 · 2 comments

Comments

@Mysh3ll
Copy link

Mysh3ll commented Mar 22, 2022

Hello,

I cloned this repo and react-fundamentals, and from then I have the mockServiceWorker.js which remains attached in my browser.

How to force it to detach?

image

@kentcdodds
Copy link
Member

Hi @Mysh3ll,

MSW should unregister itself when you close the browser, but you can unregister it manually by going to the Service Workers section of the Application tab:

image

@Mysh3ll
Copy link
Author

Mysh3ll commented Mar 22, 2022

Hi @kentcdodds ,

Thx for your advice, i was able to list all records and stop mockServiceWorker.

image

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

No branches or pull requests

2 participants