koa-lite/test/context
jongleberry e9d7abaf79 res: use http.ServerResponse._header when accessors exist (#930)
* Don't use http.ServerResponse._header when accessors exist

Structure of http.ServerResponse._header will change in future
Node versions. Avoid reading and setting it directly when
helpers exist.

* Add new header test case

* make things a little more strict
2017-03-07 22:59:24 -08:00
..
assert.js test: switch all functions to arrow functions 2015-11-02 11:22:05 -08:00
cookies.js fix cookies' secure detect 2016-03-15 13:57:22 -07:00
inspect.js test: switch all functions to arrow functions 2015-11-02 11:22:05 -08:00
onerror.js res: use http.ServerResponse._header when accessors exist (#930) 2017-03-07 22:59:24 -08:00
state.js test: switch all functions to arrow functions 2015-11-02 11:22:05 -08:00
throw.js test: switch all functions to arrow functions 2015-11-02 11:22:05 -08:00
toJSON.js test: switch all functions to arrow functions 2015-11-02 11:22:05 -08:00