Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jan 4, 2023
1 parent 8b731c3 commit 9c2179b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/cmap/auth/mongo_credentials.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Resolves the default auth mechanism according to
import type { Document } from '../../bson';
import { MongoAPIError, MongoMissingCredentialsError } from '../../error';
import { emitWarningOnce } from '../../utils';
import { GSSAPICanonicalizationValue } from './gssapi';
import { AUTH_MECHS_AUTH_SRC_EXTERNAL, AuthMechanism } from './providers';

Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Admin } from './admin';
import { ObjectId } from './bson';
import { OrderedBulkOperation } from './bulk/ordered';
import { UnorderedBulkOperation } from './bulk/unordered';
import { ChangeStream } from './change_stream';
Expand Down
2 changes: 1 addition & 1 deletion test/integration/node-specific/operation_example.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const { assert: test, setupDatabase } = require('../shared');
const { setTimeout } = require('timers');
const { format: f } = require('util');
const { Code, ObjectId, ReturnDocument } = require('../../../src');
const { ObjectId, ReturnDocument } = require('../../../src');

const chai = require('chai');
const { skipBrokenAuthTestBeforeEachHook } = require('../../tools/runner/hooks/configuration');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { assert: test, setupDatabase } = require('../shared');
const { sleep: delay } = require('../../tools/utils');
const { enumToString } = require('../../../src/utils');
const { ProfilingLevel } = require('../../../src/operations/set_profiling_level');
const { Code, ReturnDocument } = require('../../../src');
const { ReturnDocument } = require('../../../src');
const { expect } = require('chai');
const { skipBrokenAuthTestBeforeEachHook } = require('../../tools/runner/hooks/configuration');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { TestRunnerContext, generateTopologyTests } = require('../../tools/spec-runner');
const { loadSpecTests } = require('../../spec');

describe.only('Read Write Concern spec tests', function () {
describe('Read Write Concern spec tests', function () {
describe('operation spec tests', function () {
const testContext = new TestRunnerContext();
const testSuites = loadSpecTests('read-write-concern/operation');
Expand Down
2 changes: 1 addition & 1 deletion test/unit/assorted/collations.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
const mock = require('../../tools/mongodb-mock/index');
const { expect } = require('chai');
const { Long, Code } = require('../../../src');
const { Long } = require('../../../src');
const { isHello } = require('../../../src/utils');
const { MongoClient } = require('../../../src');

Expand Down
2 changes: 1 addition & 1 deletion test/unit/assorted/write_concern.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
const mock = require('../../tools/mongodb-mock/index');
const { expect } = require('chai');
const { ObjectId, Code, MongoClient } = require('../../../src');
const { ObjectId, MongoClient } = require('../../../src');
const { LEGACY_HELLO_COMMAND } = require('../../../src/constants');
const { isHello } = require('../../../src/utils');

Expand Down

0 comments on commit 9c2179b

Please sign in to comment.