Skip to content

Commit cc538d2

Browse files
chore: remove done
1 parent c9483bb commit cc538d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/cmap/connection.test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -389,14 +389,13 @@ describe('new Connection()', function () {
389389
connection.onMessage(message);
390390
});
391391

392-
it('calls all operation description callbacks with an error', function (done) {
392+
it('calls all operation description callbacks with an error', function () {
393393
expect(spyOne).to.be.calledOnce;
394394
expect(spyTwo).to.be.calledOnce;
395395
const errorOne = spyOne.firstCall.args[0];
396396
const errorTwo = spyTwo.firstCall.args[0];
397397
expect(errorOne).to.be.instanceof(MongoRuntimeError);
398398
expect(errorTwo).to.be.instanceof(MongoRuntimeError);
399-
done();
400399
});
401400
});
402401
});

0 commit comments

Comments
 (0)