File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
2+ const semver = require ( 'semver' ) ;
23const { assert : test , ignoreNsNotFound, setupDatabase } = require ( '../shared' ) ;
34const { format : f } = require ( 'util' ) ;
45const { expect } = require ( 'chai' ) ;
@@ -1680,6 +1681,11 @@ describe('crud - insert', function () {
16801681 } ,
16811682
16821683 test : function ( done ) {
1684+ if ( semver . satisfies ( process . versions . node , '22.7.0' ) ) {
1685+ this . skipReason = 'Node.js 22.7.0 has a UTF-8 encoding bug' ;
1686+ this . skip ( ) ;
1687+ }
1688+
16831689 var regexp = / f o o b a r é / ;
16841690
16851691 var configuration = this . configuration ;
Original file line number Diff line number Diff line change 11'use strict' ;
2+ const semver = require ( 'semver' ) ;
23const { assert : test , setupDatabase } = require ( '../shared' ) ;
34const { expect } = require ( 'chai' ) ;
45
@@ -13,6 +14,11 @@ describe('Unicode', function () {
1314 } ,
1415
1516 test : function ( done ) {
17+ if ( semver . satisfies ( process . versions . node , '22.7.0' ) ) {
18+ this . skipReason = 'Node.js 22.7.0 has a UTF-8 encoding bug' ;
19+ this . skip ( ) ;
20+ }
21+
1622 var configuration = this . configuration ;
1723 var client = configuration . newClient ( configuration . writeConcernMax ( ) , { maxPoolSize : 1 } ) ;
1824 client . connect ( function ( err , client ) {
You can’t perform that action at this time.
0 commit comments