Expand description
Synchronous toThrow matcher (Jest’s expect(fn).toThrow(...)).
The QuickJS binding invokes the user function in try/catch and
constructs the ThrownError (or None) before delegating here —
this module does not own any JS invocation, only the matching logic.
Structs§
- Expect
Fn - Thrown
Error - Captured outcome of invoking a function expected to throw.