mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
JS: add koa test
This commit is contained in:
@@ -54,3 +54,8 @@ app2.use(async ctx => {
|
||||
var headers = ctx.headers;
|
||||
headers.foo;
|
||||
});
|
||||
|
||||
var app3 = Koa();
|
||||
app3.use(function*(){
|
||||
this.request.url;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user