Skip to content

Commit 5245172

Browse files
committed
chore: failZero, skip, test latest
1 parent 3c9fe92 commit 5245172

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
- run: npm clean-install
2626

2727
- if: ${{ matrix.driver-version == 'latest' }}
28-
run: npm install --no-save mongodb/node-mongodb-native#main
28+
run: npm install --no-save mongodb/node-mongodb-native#NODE-4520/add-legacy-callback-client-literal
2929

3030
- run: npm run check:test

.mocharc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/mocharc.json",
33
"extension": ["js", "ts"],
44
"recursive": true,
5-
"failZero": false,
5+
"failZero": true,
66
"sort": true,
77
"color": true,
88
"require": [

test/unit/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const { expect } = require('chai');
4-
const mdbLegacy = require('../../src/index');
4+
const mdbLegacy = require('../..');
55
const mdb = require('mongodb');
66

77
const classesWithAsyncAPIs = new Set([

test/unit/legacy_wrappers/cursors.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const { expect } = require('chai');
4-
const { MongoClient, Collection, FindCursor } = require('../../../src');
4+
const { MongoClient, Collection, FindCursor } = require('../../..');
55

66
// const commonAsyncCursorMethods = ['close', 'forEach', 'hasNext', 'next', 'toArray', 'tryNext'];
77

test/unit/legacy_wrappers/mongo_client.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
const sinon = require('sinon');
44
const { expect } = require('chai');
55
const { MongoClient: DriverMongoClient } = require('mongodb');
6-
const { MongoClient: LegacyMongoClient } = require('../../../src');
6+
const { MongoClient: LegacyMongoClient } = require('../../..');
77
const { promisify } = require('util');
88

99
const ILJ_URL = 'mongodb://iLoveJavaScript';
1010

11-
describe('legacy-wrappers/mongo_client.js', () => {
11+
describe.skip('legacy-wrappers/mongo_client.js', () => {
1212
let client;
1313

1414
beforeEach(async () => {

test/unit/test.test.js

Whitespace-only changes.

0 commit comments

Comments
 (0)