You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This has nothing to do with Sinon. This has to do with module loaders and the details of which are outside of Sinon's hands. If you are using ES Modules (which you are when using import) then they are not supposed to be modifiable! Hence Sinon cannot change them. If you transpile using Babel to ES5 they will be trivially stubbable, or if you use ESM with CJS compat settings that should also work.
Describe the bug
I have a module
modules.js
test.js
but if do this
modules.js
test.js
The text was updated successfully, but these errors were encountered: