We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fakes are hard coded to use the global Promise library:
Promise
sinon/lib/sinon/fake.js
Lines 64 to 78 in 9d4a01b
There is no way to override this behavior and use an alternative library (like bluebird).
bluebird
Similar interfaces that support this functionality:
sandbox.usingPromise()
stub.usingPromise()
The text was updated successfully, but these errors were encountered:
Add usingPromise() method on fakes to fix issue #2293 (#2301)
3b80dbb
* Add usingPromise() method on fakes to fix issue #2293 * Simplify implementation of injected promise implementation, reducing required code branching Co-authored-by: Roman Balayan <roman.balayan@paymaya.com>
This has been fixed with #2301
Sorry, something went wrong.
No branches or pull requests
Fakes are hard coded to use the global
Promise
library:sinon/lib/sinon/fake.js
Lines 64 to 78 in 9d4a01b
There is no way to override this behavior and use an alternative library (like
bluebird
).Similar interfaces that support this functionality:
sandbox.usingPromise()
stub.usingPromise()
The text was updated successfully, but these errors were encountered: