Skip to content

Commit c9eb137

Browse files
committed
Fix test
1 parent deaf8ad commit c9eb137

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

integration-tests/profiler/profiler.spec.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,12 @@ describe('profiler', () => {
355355
case threadNameKey: threadName = label.str; break
356356
case threadIdKey: threadId = label.str; break
357357
case osThreadIdKey: osThreadId = label.str; break
358-
case asyncIdKey: asyncId = label.num; break
358+
case asyncIdKey:
359+
asyncId = label.num;
360+
if (asyncId === 0) {
361+
asyncId === undefined
362+
}
363+
break
359364
default: assert.fail(`Unexpected label key ${strings.dedup(label.key)} ${encoded}`)
360365
}
361366
}

0 commit comments

Comments
 (0)