This library works on alpha enviroment? #1648
Replies: 1 comment
-
Hi, @vachterberg1. Could you please clarify what do you refer to as "alpha environment"? Also, do you see any runtime errors related to MSW? If you do, please share them below. Otherwise, MSW works in any browser or Node.js process. If it doesn't, chances are something in your environment is preventing it from working or MSW is not set up correctly. One common issue is that people forget to deploy the worker script when they wish to use MSW in the browser in remote environments. Make sure that the |
Beta Was this translation helpful? Give feedback.
-
Hello, guys.
I am working on the implementation of your library in the project I work on, but I am experiencing a problem that I haven't found anything about on the internet.
In the local/development environment, it is working fine, but when I upload it to the alpha environment of the project, the library just doesn't work.
Is there a library hindrance to this? Along with it, I implemented the js-cookies library so that the change between BFF and Mocks occurs when the useMocks property works. And as I said before, only on the local environment it is working.
handlers.ts:
enviroment.ts:
Beta Was this translation helpful? Give feedback.
All reactions