-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Bug] - ReferenceError: process is not defined #221
Comments
Hmm ... I have no idea what this could be. The only change between sinon-commons 2 and 3 is that we stopped testing old Node versions. No code changes. See sinonjs/commons@b0253f8 The most probably culprit is the Browserify thingie, but that should not be used by you, AFAIK, as you don't use the bundled version. If you are able to reproduce some minimal example, that would be great. |
Thanks for the details. We are still using Node 14. With the mentioned dropped support I guess that's the culprit. If it is anything else, I'll add it here for further reference. For now this can be savely close. Thanks again |
I see a lot of |
Hmm, we're having a similar issue when running tests with I've looked through the bundled code and
That being said I'm not sure if this was ever supported, our workaround at the moment is to pin |
Thanks for adding details! I know @saschb2b closed it after I mentioned dropping explicit Node 14 support, but that was extremely unlikely to be the issue. Pretty sure we can figure this out quite quickly by running a git bisect script on the commit range, but I am swamped at the moment. If anyone fancies a try: |
Hi, thanks for the reply @fatso83 🙂 I cloned this repo and tried a few things out, and I think this may be a From |
That's exactly what I and Max thought as well. The change log does not list this as a breaking change: But I absolutely think this is it. Will revert and test |
Our project bumps package versions automatically and since 5.1.7 our tests fail with
After reverting back to version
5.1.5
it works as intended.Not really sure what could be the culprit here. Only saw the major version bump in sinon common package as dependencies? Was there a breaking change that I'm not aware of?
The text was updated successfully, but these errors were encountered: