Skip to content

Commit

Permalink
fix: rebased imports sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Dec 8, 2021
1 parent 82cae80 commit 3a9ea00
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/functional/collection.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const chai = require('chai');
const expect = chai.expect;
const sinonChai = require('sinon-chai');
const mock = require('../tools/mongodb-mock/index');

chai.use(sinonChai);

describe('Collection', function () {
Expand Down
1 change: 1 addition & 0 deletions test/tools/mongodb-mock/src/request.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const BSON = require('bson');

const { Long } = BSON;
const { snappy } = require('./snappy_importer');
const zlib = require('zlib');
Expand Down
1 change: 1 addition & 0 deletions test/tools/mongodb-mock/src/wire_response.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const BSON = require('bson');

const { Long } = BSON;

// Response flags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import * as dns from 'dns';
import * as sinon from 'sinon';

import { MongoClient } from '../../src';
import { processTick } from '../tools/utils';
import * as mock from '../tools/mongodb-mock/index';
import type { MockServer } from '../tools/mongodb-mock/src/server';
import { processTick } from '../tools/utils';

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

const srvRecord = (name, port) => ({ name, port, weight: 0, priority: 0 });
interface ShardedClusterMocks {
mongoses: mock.MockServer[];
mongoses: MockServer[];
readonly srvRecords: dns.SrvRecord[];
}

Expand Down
1 change: 1 addition & 0 deletions test/unit/unit_snappy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

const { expect } = require('chai');
const mock = require('../tools/mongodb-mock/index');

const snappy = optionalRequire('snappy');
const snappyVersion = optionalRequire('snappy/package.json').version;
const { MongoClient } = require('../../src');
Expand Down

0 comments on commit 3a9ea00

Please sign in to comment.