JS: add koa test

This commit is contained in:
Esben Sparre Andreasen
2020-01-29 14:37:40 +01:00
parent 816a8d1f9e
commit d4d910b681

View File

@@ -54,3 +54,8 @@ app2.use(async ctx => {
var headers = ctx.headers;
headers.foo;
});
var app3 = Koa();
app3.use(function*(){
this.request.url;
});