We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c31e63d commit 36ab7b1Copy full SHA for 36ab7b1
test/unit/utils.test.ts
@@ -21,7 +21,6 @@ import {
21
List,
22
MongoDBCollectionNamespace,
23
MongoDBNamespace,
24
- now,
25
shuffle
26
} from '../../src/utils';
27
import { sleep } from '../tools/utils';
@@ -1286,15 +1285,4 @@ describe('driver utils', function () {
1286
1285
});
1287
1288
1289
-
1290
- describe('now()', () => {
1291
- it('difference between two calls is close to sleep time', async () => {
1292
- const time1 = now();
1293
- await sleep(10);
1294
- const time2 = now();
1295
- const diff = time2 - time1;
1296
- expect(diff).to.be.gte(5);
1297
- expect(diff).to.be.lte(15);
1298
- });
1299
1300
0 commit comments