test: typo fix (#12531)

This commit is contained in:
Ross Wollman 2022-03-04 17:09:18 -08:00 committed by GitHub
parent 5fd43edcbb
commit 281945c8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -570,7 +570,7 @@ it('should support gzip compression', async function({ context, server }) {
expect(await response.text()).toBe('Hello, world!'); expect(await response.text()).toBe('Hello, world!');
}); });
it('should throw informatibe error on corrupted gzip body', async function({ context, server }) { it('should throw informative error on corrupted gzip body', async function({ context, server }) {
server.setRoute('/corrupted', (req, res) => { server.setRoute('/corrupted', (req, res) => {
res.writeHead(200, { res.writeHead(200, {
'Content-Encoding': 'gzip', 'Content-Encoding': 'gzip',
@ -604,7 +604,7 @@ it('should support brotli compression', async function({ context, server }) {
expect(await response.text()).toBe('Hello, world!'); expect(await response.text()).toBe('Hello, world!');
}); });
it('should throw informatibe error on corrupted brotli body', async function({ context, server }) { it('should throw informative error on corrupted brotli body', async function({ context, server }) {
server.setRoute('/corrupted', (req, res) => { server.setRoute('/corrupted', (req, res) => {
res.writeHead(200, { res.writeHead(200, {
'Content-Encoding': 'br', 'Content-Encoding': 'br',
@ -638,7 +638,7 @@ it('should support deflate compression', async function({ context, server }) {
expect(await response.text()).toBe('Hello, world!'); expect(await response.text()).toBe('Hello, world!');
}); });
it('should throw informatibe error on corrupted deflate body', async function({ context, server }) { it('should throw informative error on corrupted deflate body', async function({ context, server }) {
server.setRoute('/corrupted', (req, res) => { server.setRoute('/corrupted', (req, res) => {
res.writeHead(200, { res.writeHead(200, {
'Content-Encoding': 'deflate', 'Content-Encoding': 'deflate',