adjust expectation
This commit is contained in:
parent
36b85c7af4
commit
ce877e8732
|
|
@ -853,7 +853,7 @@ it('should not hang on a brotli encoded Range request', async ({ context, server
|
||||||
headers: {
|
headers: {
|
||||||
range: 'bytes=0-2',
|
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 }) {
|
it('should dispose', async function({ context, server }) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue