@testomatio/reporter 0.7.0-beta.6 → 0.7.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -150,7 +150,7 @@ function getSteps(tc) {
|
|
|
150
150
|
if (sourceStepId && getGherkinStepMap(tc.gherkinDocument)[sourceStepId]) {
|
|
151
151
|
step.keyword = getGherkinStepMap(tc.gherkinDocument)[sourceStepId].keyword;
|
|
152
152
|
}
|
|
153
|
-
step.toString = ()
|
|
153
|
+
step.toString = function toString() {
|
|
154
154
|
const duration = step.duration.seconds * 1000 + (step.duration.nanos / 1000000)
|
|
155
155
|
const durationString = ` ${ chalk.gray(`(${Number(duration).toFixed(2)}ms)`)}`;
|
|
156
156
|
const stepString = `${chalk.bold(this.keyword)}${this.text}`.trim();
|