koa-lite/test/response
Ruben Bridgewater 13086d2fcd fix tests: remove unnecessary assert doesNotThrow and api calls (#1170)
* tests: fix error verification

So far the error message was not tested at all. This change makes
sure the error will actually be tested for.

* tests: remove unnecessary api calls

`assert.doesNotThrow` does not provide any benefit since it will
only catch errors and then rethrow in case of an error.
2018-04-09 19:36:52 -07:00
..
append.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
attachment.js test: replace request(app.listen()) with request(app.callback()) 2017-09-25 23:07:57 -05:00
body.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
etag.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
flushHeaders.js feat: ignore set header/status when header sent (#1137) 2018-02-11 16:25:24 +08:00
header.js test: replace request(app.listen()) with request(app.callback()) 2017-09-25 23:07:57 -05:00
headers.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
inspect.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
is.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
last-modified.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
length.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
message.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
redirect.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
remove.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
set.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
socket.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
status.js fix tests: remove unnecessary assert doesNotThrow and api calls (#1170) 2018-04-09 19:36:52 -07:00
type.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
vary.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00
writable.js test: Use Jest (#981) 2017-05-11 11:30:32 +08:00