You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the introduction of threw in
0feec9f, no one have reported that
`threw(obj)` doesn't work as the documentation states.
```js
const sinon = require("sinon");
const o = { pie: "apple" };
const f = sinon.fake.throws(o);
f();
// this is supposed to return true
f.threw(o);
// => false
```
Since it has been 12+ years without an error report, it's safe to assume
that no one uses the `threw` method in this way. Let's remove it from
the documentation.
0 commit comments