koa-lite/test
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
..
application feat: ignore set header/status when header sent (#1137) 2018-02-11 16:25:24 +08:00
context Error handling: on non-error throw try to stringify if error is an object (#1113) 2017-12-24 20:48:44 +08:00
helpers req: Cache the request IP 2016-04-03 19:30:06 -07:00
request fix tests: remove unnecessary assert doesNotThrow and api calls (#1170) 2018-04-09 19:36:52 -07:00
response fix tests: remove unnecessary assert doesNotThrow and api calls (#1170) 2018-04-09 19:36:52 -07:00
.eslintrc test: Use Jest (#981) 2017-05-11 11:30:32 +08:00