Skip to content

Commit 11259dd

Browse files
committed
test: fixes
1 parent 11bf89e commit 11259dd

File tree

2 files changed

+1
-156
lines changed

2 files changed

+1
-156
lines changed

test/unit/cmap/message_stream.test.ts

Lines changed: 0 additions & 155 deletions
This file was deleted.

test/unit/sdam/monitor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ describe('monitoring', function () {
160160

161161
monitor.on('serverHeartbeatFailed', () => done(new Error('unexpected heartbeat failure')));
162162
monitor.on('serverHeartbeatSucceeded', () => {
163-
expect(monitor.connection.isMonitoringConnection).to.be.true;
163+
expect(monitor.connection).to.have.property('id', '<monitor>');
164164
done();
165165
});
166166
monitor.connect();

0 commit comments

Comments
 (0)