Skip to content

Commit ab75422

Browse files
committed
fix test
1 parent bdef9af commit ab75422

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/node/test/manual/release-health/session-aggregates/aggregates-disable-single-session.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ function cleanUpAndExitSuccessfully() {
1212
}
1313

1414
function assertSessionAggregates(session, expected) {
15+
if (!session.aggregates) {
16+
return;
17+
}
1518
// For loop is added here just in the rare occasion that the session count do not land in the same aggregate
1619
// bucket
1720
session.aggregates.forEach(function (_, idx) {

0 commit comments

Comments
 (0)