Skip to content

Commit d79870d

Browse files
authored
test: skip flaky encoding test on macos and node20 (#4497)
1 parent 7893665 commit d79870d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/fetch/encoding.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const { fetch } = require('../..')
88
const zlib = require('node:zlib')
99
const { closeServerAsPromise } = require('../utils/node-http')
1010

11-
test('content-encoding header is case-iNsENsITIve', async (t) => {
11+
const skip = process.versions.node.split('.').map(Number)[0] === 20 && process.platform === 'darwin'
12+
13+
test('content-encoding header is case-iNsENsITIve', { skip }, async (t) => {
1214
const contentCodings = 'GZiP, bR'
1315
const text = 'Hello, World!'
1416
const gzipBrotliText = Buffer.from('CxCAH4sIAAAAAAAAA/NIzcnJ11EIzy/KSVEEANDDSuwNAAAAAw==', 'base64')

0 commit comments

Comments
 (0)