Skip to content

Commit 36ab7b1

Browse files
committed
remove unnecessary test
1 parent c31e63d commit 36ab7b1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/unit/utils.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
List,
2222
MongoDBCollectionNamespace,
2323
MongoDBNamespace,
24-
now,
2524
shuffle
2625
} from '../../src/utils';
2726
import { sleep } from '../tools/utils';
@@ -1286,15 +1285,4 @@ describe('driver utils', function () {
12861285
});
12871286
});
12881287
});
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-
});
13001288
});

0 commit comments

Comments
 (0)