Skip to content

Commit 360b626

Browse files
committed
cleanup copy paste error
1 parent 92594ac commit 360b626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ module.exports = function (config) {
105105
recorder.add('Set step end time and duration', async () => {
106106
if (report && report.step) {
107107
report.step.end_time = Date.now();
108-
// calculate the duration in nanoseconds for cucumber-html-reporter
108+
// calculate the duration based on config timeMultiplier for reporting tools
109109
report.step.result.duration = (report.step.end_time - report.step.start_time) * config.timeMultiplier;
110110
}
111111
});
@@ -334,7 +334,7 @@ module.exports = function (config) {
334334
return rootStep;
335335
}
336336

337-
// Checks if step is actually BDDconfig.includeExampleValues
337+
// Checks if step is actually BDD
338338
// Before-After Hooks aren't BDD and we want to exclude those from reporting pass/fail
339339
function isBDD(step) {
340340
const metaStep = getRootMetaStep(step);

0 commit comments

Comments
 (0)