Skip to content

Commit d4d910b

Browse files
committed
JS: add koa test
1 parent 816a8d1 commit d4d910b

File tree

1 file changed

+5
-0
lines changed
  • javascript/ql/test/library-tests/frameworks/koa/src

1 file changed

+5
-0
lines changed

javascript/ql/test/library-tests/frameworks/koa/src/koa.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@ app2.use(async ctx => {
5454
var headers = ctx.headers;
5555
headers.foo;
5656
});
57+
58+
var app3 = Koa();
59+
app3.use(function*(){
60+
this.request.url;
61+
});

0 commit comments

Comments
 (0)