-
Notifications
You must be signed in to change notification settings - Fork 29
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
Not compatible with sinon@7.2.6 createSandbox (chain is not a function) #44
Comments
The related PRs have been merged/closed. Are you still having an issue? |
Yes, it's still relevant. You can try against provided test, which is basically same as in your suite, but using EDIT: I've updated issue. Removed claim about not working with default sandbox, because I must first check, if it's just sinon version incompatibility or if mongoose is involved too. However claim about not working with |
Do you have any substitue of this method, until the issue will be solve ? Not working with sinon 7.3.2 & sinon-mongoose 2.3.0 |
I am facing the same error with sinon-mongoose 7.3.2. I am a first-time of Thank you for this library. |
Hi there,
I'm happy user of sinon-mongoose 2.2.1 and find it very usefull.
It worked just fine until sinon 7.2.3, which was not compatible with created sandbox (sinon.createSandbox) but was compatible with default sandbox.Starting version 7.2.6 sinon-mongoose is not compatible nor with default nor with created sanbox (sandbox.createSandbox).I know there is #15 and also PR #19.
EDIT: added test for non default sandbox.
It fails with error:
The text was updated successfully, but these errors were encountered: