Skip to content

Commit bce45cb

Browse files
committed
wip
1 parent b3c36db commit bce45cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/assorted/server_discovery_and_monitoring.spec.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ function withConnectionStubImpl(appError) {
275275
function assertOutcomeExpectations(topology, events, outcome) {
276276
// then verify the resulting outcome
277277
const description = topology.description;
278-
Object.keys(outcome).forEach(key => {
278+
for (const key of Object.keys(outcome)) {
279279
const outcomeValue = outcome[key];
280280
const translatedKey = translateOutcomeKey(key);
281281

@@ -347,5 +347,5 @@ function assertOutcomeExpectations(topology, events, outcome) {
347347
} else {
348348
expect(description).to.have.property(translatedKey).that.deep.equals(outcomeValue);
349349
}
350-
});
350+
}
351351
}

0 commit comments

Comments
 (0)