Skip to content

Commit 39245f8

Browse files
committed
chore: Logs fixed
1 parent 414fd83 commit 39245f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/testObservability/reporter/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class MyReporter {
104104
}
105105

106106
if (hook.id) this.internalIdMap[hook.id] = hook.hookAnalyticsId;
107-
debugOnConsole(`[MOCHA HOOK EVENT] EVENT_HOOK_BEGIN for uuid: ${hook.id}`);
107+
debugOnConsole(`[MOCHA EVENT] EVENT_HOOK_BEGIN for uuid: ${hook.hookAnalyticsId}`);
108108
hook.hook_started_at = (new Date()).toISOString();
109109
hook.started_at = (new Date()).toISOString();
110110
this.current_hook = hook;
@@ -338,7 +338,7 @@ class MyReporter {
338338
test.retryOf = null;
339339
test.testAnalyticsId = uuidv4();
340340
if (test.id) this.internalIdMap[test.id] = test.testAnalyticsId;
341-
debugOnConsole(`[MOCHA TEST EVENT] EVENT_TEST_BEGIN for uuid: ${test.id}`);
341+
debugOnConsole(`[MOCHA EVENT] EVENT_TEST_BEGIN for uuid: ${test.testAnalyticsId}`);
342342
test.started_at = (new Date()).toISOString();
343343
test.test_started_at = test.started_at;
344344
if(test._currentRetry > 0 && lastTest && lastTest.title == test.title) {

0 commit comments

Comments
 (0)