Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Remove threw(obj) from docs (#2513)
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.
- Loading branch information