We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84151b4 commit 88b54e3Copy full SHA for 88b54e3
1 file changed
test/unit/assorted/write_concern.test.js
@@ -2,11 +2,10 @@
2
const mock = require('../../tools/mongodb-mock/index');
3
const { expect } = require('chai');
4
5
-import { ObjectId } from 'bson';
6
-
7
-import { LEGACY_HELLO_COMMAND } from '../../../src/constants';
8
-import { MongoClient } from '../../../src/mongo_client';
9
-import { isHello } from '../../../src/utils';
+const { isHello } = require('../../../src/utils');
+const { LEGACY_HELLO_COMMAND } = require('../../../src/constants');
+const { MongoClient } = require('../../../src/mongo_client');
+const { ObjectId } = require('bson');
10
11
const TEST_OPTIONS = { writeConcern: { w: 2, wtimeoutMS: 1000 } };
12
0 commit comments