Identical to the ifError function from the node:assert module, but bound to the test context.
ifError
node:assert