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 1
1
'use strict' ;
2
+ const semver = require ( 'semver' ) ;
2
3
const { assert : test , ignoreNsNotFound, setupDatabase } = require ( '../shared' ) ;
3
4
const { format : f } = require ( 'util' ) ;
4
5
const { expect } = require ( 'chai' ) ;
@@ -1680,6 +1681,11 @@ describe('crud - insert', function () {
1680
1681
} ,
1681
1682
1682
1683
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
+
1683
1689
var regexp = / f o o b a r é / ;
1684
1690
1685
1691
var configuration = this . configuration ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
+ const semver = require ( 'semver' ) ;
2
3
const { assert : test , setupDatabase } = require ( '../shared' ) ;
3
4
const { expect } = require ( 'chai' ) ;
4
5
@@ -13,6 +14,11 @@ describe('Unicode', function () {
13
14
} ,
14
15
15
16
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
+
16
22
var configuration = this . configuration ;
17
23
var client = configuration . newClient ( configuration . writeConcernMax ( ) , { maxPoolSize : 1 } ) ;
18
24
client . connect ( function ( err , client ) {
You can’t perform that action at this time.
0 commit comments