@@ -115,7 +115,7 @@ describe('networkFormatter', () => {
115115
116116 assert . strictEqual ( result , 'test' ) ;
117117 } ) ;
118- it ( 'shows empty string when no postData available' , async ( ) => {
118+ it ( 'shows not available when no postData available' , async ( ) => {
119119 const request = getMockRequest ( {
120120 hasPostData : false ,
121121 } ) ;
@@ -164,7 +164,7 @@ describe('networkFormatter', () => {
164164
165165 assert . strictEqual ( result , 'some text that is lo... <truncated>' ) ;
166166 } ) ;
167- it ( 'shows nothing on exception' , async ( ) => {
167+ it ( 'shows not available on exception' , async ( ) => {
168168 const request = getMockRequest ( {
169169 hasPostData : true ,
170170 postData : undefined ,
@@ -173,7 +173,7 @@ describe('networkFormatter', () => {
173173
174174 const result = await getFormattedRequestBody ( request , 200 ) ;
175175
176- assert . strictEqual ( result , undefined ) ;
176+ assert . strictEqual ( result , '<not available anymore>' ) ;
177177 } ) ;
178178 } ) ;
179179
@@ -232,7 +232,7 @@ describe('networkFormatter', () => {
232232
233233 const result = await getFormattedResponseBody ( response , 200 ) ;
234234
235- assert . strictEqual ( result , undefined ) ;
235+ assert . strictEqual ( result , '<not available anymore>' ) ;
236236 } ) ;
237237 } ) ;
238238} ) ;
0 commit comments