Asserts that the given callback or promise throws and that what it throws matches, if provided, the provided constructor or message string.
The callback or promise to check for throwing.
Optionalmatching: PartialAndNullable<{ Optional matching options.
OptionalfailureMessage: stringMessage to include in the error if the provided callback or promise does not throw.
Asserts that the given callback or promise throws and that what it throws matches, if provided, the provided constructor or message string.
The callback or promise to check for throwing.
Rest...args: []Optionalmatching: PartialAndNullable<{ Optional matching options.
OptionalfailureMessage: stringMessage to include in the error if the provided callback or promise does not throw.
Asserts that the given callback or promise throws and that what it throws matches, if provided, the provided constructor or message string.
The callback or promise to check for throwing.
Rest...args: []Optionalmatching: PartialAndNullable<{ Optional matching options.
OptionalfailureMessage: stringMessage to include in the error if the provided callback or promise does not throw.
Asserts that the given callback or promise throws and that what it throws matches, if provided, the provided constructor or message string.
The callback or promise to check for throwing.
Rest...args: []Optionalmatching: PartialAndNullable<{ Optional matching options.
OptionalfailureMessage: stringMessage to include in the error if the provided callback or promise does not throw.
Asserts that the given callback or promise throws and that what it throws matches, if provided, the provided constructor or message string.
The callback or promise to check for throwing.
Optionalmatching: PartialAndNullable<{ Optional matching options.
OptionalfailureMessage: stringMessage to include in the error if the provided callback or promise does not throw.
Asserts that the given callback or promise throws and that what it throws matches, if provided, the provided constructor or message string.