diff options
Diffstat (limited to 'packages/taler-harness/src/harness/harness.ts')
-rw-r--r-- | packages/taler-harness/src/harness/harness.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/taler-harness/src/harness/harness.ts b/packages/taler-harness/src/harness/harness.ts index 48f8450fd..975d73cf8 100644 --- a/packages/taler-harness/src/harness/harness.ts +++ b/packages/taler-harness/src/harness/harness.ts @@ -412,6 +412,17 @@ export class GlobalTestState { } } } + + /** + * Log that the test arrived a certain step. + * + * The step name should be unique across the whole + */ + logStep(stepName: string): void { + // Now we just log, later we may report the steps that were done + // to easily see where the test hangs. + console.info(`STEP: ${stepName}`); + } } export function shouldLingerInTest(): boolean { |