Skip to content

Commit 7857ec9

Browse files
committed
test(NODE-7203): migrate ignore_undefined
1 parent 718ca1a commit 7857ec9

2 files changed

Lines changed: 172 additions & 291 deletions

File tree

test/integration/node-specific/bson-options/bsonRegExp.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { expect } from 'chai';
22

3-
import { BSONRegExp } from '../../../mongodb';
3+
import { BSONRegExp, type MongoClient } from '../../../../src';
44

55
describe('BSONRegExp', () => {
66
describe('bsonRegExp option', () => {
77
// define client and option for tests to use
8-
let client;
8+
let client: MongoClient;
99
const option = { bsonRegExp: true };
1010
for (const passOptionTo of ['client', 'db', 'collection', 'operation']) {
1111
it(`should respond with BSONRegExp class with option passed to ${passOptionTo}`, async function () {

0 commit comments

Comments
 (0)