Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit c2be762

Browse files
committed
Add #154 test case
1 parent 818c96a commit c2be762

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test-server/server.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@ app.all('/long/', (req, res) => { var count = 0;
233233

234234
})
235235

236+
app.all('/err-body', (res, res) => {
237+
res.status(400)
238+
res.write({ data : Date.now() })
239+
res.end()
240+
})
241+
236242
app.all('/timeout', (req, res) => {
237243
})
238244

0 commit comments

Comments
 (0)