Skip to content

Commit e356a28

Browse files
committed
Skip test of fetched zstd encoded content since this is not supported in Node.js 22
1 parent 6f3e9ab commit e356a28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/extras/response/sendEncoded.test.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ describe('sendEncoded', () => {
5050
const resZstd = await fetch(url, { headers: { 'accept-encoding': 'zstd' } });
5151
expect(resZstd.status).equals(200);
5252
expect(resZstd.headers.get('content-encoding')).equals('zstd');
53-
expect(await resZstd.text()).equals('content');
53+
// zstd is not supported by fetch in Node.js 22
54+
//expect(await resZstd.text()).equals('content');
5455

5556
const resMulti = await fetch(url, {
5657
headers: { 'accept-encoding': 'deflate; q=0.1, br; q=0.8, gzip; q=0.2' },

0 commit comments

Comments
 (0)