mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: typo fix (#12531)
This commit is contained in:
parent
5fd43edcbb
commit
281945c8b6
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user