File tree 1 file changed +13
-10
lines changed
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ async function createReport(results) {
138
138
report += '```\n' ;
139
139
report += '<details>\n' ;
140
140
report += '<summary>Response</summary>\n' ;
141
+ report += '\n' ;
141
142
report += '```json\n' ;
142
143
const res = result . response ;
143
144
/** @type {Record<string, string> } */
@@ -152,18 +153,20 @@ async function createReport(results) {
152
153
} catch {
153
154
// noop
154
155
}
155
- report += JSON . stringify (
156
- {
157
- status : res . status ,
158
- statusText : res . statusText ,
159
- headers,
160
- body : json || text ,
161
- } ,
162
- null ,
163
- ' ' ,
164
- ) ;
156
+ report +=
157
+ JSON . stringify (
158
+ {
159
+ status : res . status ,
160
+ statusText : res . statusText ,
161
+ headers,
162
+ body : json || text ,
163
+ } ,
164
+ null ,
165
+ ' ' ,
166
+ ) + '\n' ;
165
167
report += '```\n' ;
166
168
report += '</details>\n' ;
169
+ report += '\n\n' ;
167
170
}
168
171
report += '\n' ;
169
172
}
You can’t perform that action at this time.
0 commit comments