The Wayback Machine - https://web.archive.org/web/20210815093257/https://github.com/topics/sinon
Skip to content
#

sinon

Here are 235 public repositories matching this topic...

sinon
fatso83
fatso83 commented May 25, 2021

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'), when obj.prop is 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

Improve this page

Add a description, image, and links to the sinon topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sinon topic, visit your repo's landing page and select "manage topics."

Learn more