test: adjust expectation
This commit is contained in:
parent
08523c724a
commit
445a1e3c28
|
|
@ -829,7 +829,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`);
|
||||
})).rejects.toThrow(/(failed to decompress 'br' encoding: Error: unexpected end of file|Parse Error: Data after \`Connection: close\`)/);
|
||||
});
|
||||
|
||||
it('should dispose', async function({ context, server }) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue