We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f3e9ab commit e356a28Copy full SHA for e356a28
1 file changed
src/extras/response/sendEncoded.test.mts
@@ -50,7 +50,8 @@ describe('sendEncoded', () => {
50
const resZstd = await fetch(url, { headers: { 'accept-encoding': 'zstd' } });
51
expect(resZstd.status).equals(200);
52
expect(resZstd.headers.get('content-encoding')).equals('zstd');
53
- expect(await resZstd.text()).equals('content');
+ // zstd is not supported by fetch in Node.js 22
54
+ //expect(await resZstd.text()).equals('content');
55
56
const resMulti = await fetch(url, {
57
headers: { 'accept-encoding': 'deflate; q=0.1, br; q=0.8, gzip; q=0.2' },
0 commit comments