failed

abstract fun failed(test: TestItem, message: JsAny, duration: Int = definedExternally)(source)

Indicates a test has failed. You should pass one or more TestMessages to describe the failure.

Parameters

test

Test item to update.

message

Messages associated with the test failure.

duration

How long the test took to execute, in milliseconds.

Online Documentation