in x-test.js [1082:1095]
static directive(context, stepId) {
const step = context.state.steps[stepId];
switch (step.type) {
case 'describe-end':
case 'test-end':
return null;
case 'it':
return context.state.its[step.itId].directive;
case 'coverage':
return context.state.coverages[step.coverageId].directive;
default:
throw new Error(`Unexpected type "${step.type}".`);
}
}