stubs
Here are 112 public repositories matching this topic...
A "normal" event on an instance ignores null subscriptions. If I do so on a substituted interface, a null subscription leads to an exception. I have a not so nice legacy code with different listeners to an event an one class that does null-attach internally under some conditions, would be nice if this behaviour would be able to be tested as well. Example code for the problem:
publ
-
Updated
Aug 3, 2021 - Go
I hope the official can add a new command to automatically generate RESTful API
-
Updated
Feb 16, 2021 - Python
-
Updated
Mar 6, 2021 - Python
-
Updated
Aug 9, 2021 - Python
-
Updated
Jun 8, 2021 - PHP
-
Updated
Apr 1, 2021 - PHP
-
Updated
Jul 8, 2021 - PHP
-
Updated
Jul 21, 2021 - PHP
-
Updated
Jun 23, 2021 - PHP
-
Updated
Aug 18, 2021 - PHP
-
Updated
Dec 4, 2020 - PHP
-
Updated
Jan 29, 2021 - Python
-
Updated
Aug 30, 2021 - Python
-
Updated
Apr 9, 2021 - TypeScript
-
Updated
Aug 2, 2021 - Python
-
Updated
Nov 23, 2020 - C#
Improve this page
Add a description, image, and links to the stubs topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the stubs topic, visit your repo's landing page and select "manage topics."
Is your feature request related to a problem? Please describe.
Today we silently ignore stubbing issues, such as trying to use
sinon.stub(obj, 'prop'), whenobj.propis a synthetic getter. From a user perspective, it is probably more user friendly to be explicitly told immediately that this Object.descriptor is non-configurable (perhaps even with a link to a Sinon doc page!) and cannot be