Function end

  • Explicitly mark the test as completed, outputting the TAP plan line if needed.

    This is not required to be called if the test function returns a promise, or if a plan is explicitly declared and eventually fulfilled.

    Returns this