Skip to content

Commit b3c36db

Browse files
committed
wip
1 parent 98452c3 commit b3c36db

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
@@ -284,7 +284,7 @@ function assertOutcomeExpectations(topology, events, outcome) {
284284
const expectedServers = outcomeValue;
285285
const actualServers = description[translatedKey];
286286

287-
Object.keys(expectedServers).forEach(serverName => {
287+
for (const serverName of Object.keys(expectedServers)) {
288288
expect(actualServers).to.include.keys(serverName);
289289

290290
// TODO: clean all this up, always operate directly on `Server` not `ServerDescription`
@@ -304,7 +304,7 @@ function assertOutcomeExpectations(topology, events, outcome) {
304304
if (omittedFields.length) {
305305
expect(actualServer).to.not.have.all.keys(omittedFields);
306306
}
307-
});
307+
}
308308

309309
return;
310310
}

0 commit comments

Comments
 (0)