in x-test.js [810:819]
static kickoffTestEnd(context, stepId) {
const number = XTestRoot.number(context, stepId);
const ok = XTestRoot.ok(context, stepId);
const text = XTestRoot.text(context, stepId);
const directive = XTestRoot.directive(context, stepId);
const level = XTestRoot.level(context, stepId);
const tap = XTestTap.testLine(ok, number, text, directive, level);
XTestRoot.output(context, stepId, tap);
context.state.steps[stepId].status = 'done';
}