adjust expectation

This commit is contained in:
Max Schmitt 2024-06-25 13:45:30 +02:00
parent 36b85c7af4
commit ce877e8732

View file

@ -853,7 +853,7 @@ it('should not hang on a brotli encoded Range request', async ({ context, server
headers: {
range: 'bytes=0-2',
},
})).rejects.toThrow(/(failed to decompress 'br' encoding: Error: unexpected end of file|Parse Error: Data after \`Connection: close\`)/);
})).rejects.toThrow(/Parse Error: Expected HTTP/);
});
it('should dispose', async function({ context, server }) {