Open rluvaton opened 2 years ago
So ... we should detect that a function has thrown, but if the exception is undefined, we should still regard it as thrown?
yes, as the function being thrown should not be dependable on the value that was thrown
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Describe the bug If the function throw
undefined
then:sinon.assert.threw(a);
failTo Reproduce ReplIt Link
Expected behavior
As said in the docs about the 2nd thing:
Context (please complete the following information):