Verify that the function throws an error. Thrown error is tested against the wanted param if provided, using t.match().
wanted
t.match()
Returns false on failure, or the error object thrown on success
Rest
Verify that the function throws an error. Thrown error is tested against the
wanted
param if provided, usingt.match()
.Returns false on failure, or the error object thrown on success