File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ test('content-encoding header is case-iNsENsITIve', async (t) => {
3232
3333 assert . strictEqual ( await response . text ( ) , text )
3434 assert . strictEqual ( response . headers . get ( 'content-encoding' ) , contentCodings )
35+
36+ await t . completed
3537} )
3638
3739test ( 'response decompression according to content-encoding should be handled in a correct order' , async ( t ) => {
@@ -57,6 +59,8 @@ test('response decompression according to content-encoding should be handled in
5759 const response = await fetch ( `http://localhost:${ server . address ( ) . port } ` )
5860
5961 assert . strictEqual ( await response . text ( ) , text )
62+
63+ await t . completed
6064} )
6165
6266test ( 'should decompress zstandard response' ,
@@ -84,4 +88,6 @@ test('should decompress zstandard response',
8488 assert . strictEqual ( await response . text ( ) , text )
8589 assert . strictEqual ( response . headers . get ( 'content-encoding' ) , contentCodings )
8690 assert . strictEqual ( response . headers . get ( 'content-type' ) , 'text/plain' )
91+
92+ await t . completed
8793 } )
You can’t perform that action at this time.
0 commit comments