fail

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

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