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 @@ -126,6 +126,7 @@ async function createReport(results) {
126
126
report += '```\n' ;
127
127
report += '<details>\n' ;
128
128
report += '<summary>Response</summary>\n' ;
129
+ report += '\n' ;
129
130
report += '```json\n' ;
130
131
const res = result . response ;
131
132
/** @type {Record<string, string> } */
@@ -140,18 +141,20 @@ async function createReport(results) {
140
141
} catch {
141
142
// noop
142
143
}
143
- report += JSON . stringify (
144
- {
145
- status : res . status ,
146
- statusText : res . statusText ,
147
- headers,
148
- body : json || text ,
149
- } ,
150
- null ,
151
- ' ' ,
152
- ) ;
144
+ report +=
145
+ JSON . stringify (
146
+ {
147
+ status : res . status ,
148
+ statusText : res . statusText ,
149
+ headers,
150
+ body : json || text ,
151
+ } ,
152
+ null ,
153
+ ' ' ,
154
+ ) + '\n' ;
153
155
report += '```\n' ;
154
156
report += '</details>\n' ;
157
+ report += '\n\n' ;
155
158
}
156
159
report += '\n' ;
157
160
}
You can’t perform that action at this time.
0 commit comments