Class: TestCompletion

vertx-unit-js/test_completion~ TestCompletion

new TestCompletion()

This object provides callback-ability for the end of a test suite, the completion succeeds when all tests pass otherwise it fails.
Source:

Methods

handler(completionHandler)

Completion handler to receive a completion signal when this completions completes.
Parameters:
Name Type Description
completionHandler function the completion handler
Source:

resolve(future)

Completes the future upon completion, otherwise fails it.
Parameters:
Name Type Description
future Promise the future to resolve
Source: