rejects

abstract var rejects: JsFunction<*, *>(source)

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