Skip to content

Commit d91b21f

Browse files
committed
wip
1 parent f26fe11 commit d91b21f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/assorted/server_discovery_and_monitoring.spec.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async function executeSDAMTest(testData) {
214214
topology.on(eventName, event => events.push(event));
215215
}
216216

217-
const errorEvents = [];
217+
let errorEvents = [];
218218
topology.on('error', error => errorEvents.push(error));
219219

220220
// connect the topology
@@ -237,6 +237,7 @@ async function executeSDAMTest(testData) {
237237
}
238238

239239
events = [];
240+
errorEvents = [];
240241
} else if (phase.applicationErrors) {
241242
for (const appError of phase.applicationErrors) {
242243
const withConnectionStub = sinon

0 commit comments

Comments
 (0)