Skip to content

Commit 3a9ea00

Browse files
committed
fix: rebased imports sorting
1 parent 82cae80 commit 3a9ea00

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

test/functional/collection.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const chai = require('chai');
55
const expect = chai.expect;
66
const sinonChai = require('sinon-chai');
77
const mock = require('../tools/mongodb-mock/index');
8+
89
chai.use(sinonChai);
910

1011
describe('Collection', function () {

test/tools/mongodb-mock/src/request.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const BSON = require('bson');
2+
23
const { Long } = BSON;
34
const { snappy } = require('./snappy_importer');
45
const zlib = require('zlib');

test/tools/mongodb-mock/src/wire_response.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const BSON = require('bson');
2+
23
const { Long } = BSON;
34

45
// Response flags

test/unit/polling_srv_records_for_mongos_discovery.prose.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import * as dns from 'dns';
33
import * as sinon from 'sinon';
44

55
import { MongoClient } from '../../src';
6-
import { processTick } from '../tools/utils';
76
import * as mock from '../tools/mongodb-mock/index';
7+
import type { MockServer } from '../tools/mongodb-mock/src/server';
8+
import { processTick } from '../tools/utils';
89

910
/*
1011
The SRV Prose Tests make use of the following REAL DNS records.
@@ -26,7 +27,7 @@ import * as mock from '../tools/mongodb-mock/index';
2627

2728
const srvRecord = (name, port) => ({ name, port, weight: 0, priority: 0 });
2829
interface ShardedClusterMocks {
29-
mongoses: mock.MockServer[];
30+
mongoses: MockServer[];
3031
readonly srvRecords: dns.SrvRecord[];
3132
}
3233

test/unit/unit_snappy.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
const { expect } = require('chai');
44
const mock = require('../tools/mongodb-mock/index');
5+
56
const snappy = optionalRequire('snappy');
67
const snappyVersion = optionalRequire('snappy/package.json').version;
78
const { MongoClient } = require('../../src');

0 commit comments

Comments
 (0)