in x-test.js [1071:1080]
static href(context, stepId) {
const step = context.state.steps[stepId];
switch (step.type) {
case 'test-start':
case 'test-end':
return context.state.tests[step.testId].href;
default:
throw new Error(`Unexpected type "${step.type}".`);
}
}