Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
'use strict';
import { expect } from 'chai';

const { expect } = require('chai');
const { BSONRegExp } = require('../../../mongodb');
import { BSONRegExp, type MongoClient } from '../../../../src';

describe('BSONRegExp', () => {
describe('bsonRegExp option', () => {
// define client and option for tests to use
let client;
let client: MongoClient;
const option = { bsonRegExp: true };
for (const passOptionTo of ['client', 'db', 'collection', 'operation']) {
it(`should respond with BSONRegExp class with option passed to ${passOptionTo}`, async function () {
Expand Down
371 changes: 0 additions & 371 deletions test/integration/node-specific/bson-options/ignore_undefined.test.js

This file was deleted.

Loading