MCPcopy
hub / github.com/koajs/koa / requestServer

Function requestServer

__tests__/application/currentContext.test.js:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 })
32
33 const requestServer = async () => {
34 assert(app.currentContext === undefined)
35 await request(app.callback()).get('/').expect('ok')
36 assert(app.currentContext === undefined)
37 }
38
39 await Promise.all([
40 requestServer(),

Callers 1

Calls 1

callbackMethod · 0.80

Tested by

no test coverage detected