errored

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

Indicates a test has errored. You should pass one or more TestMessages to describe the failure. This differs from the "failed" state in that it indicates a test that couldn't be executed at all, from a compilation error for example.

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