supertest-koa-agent
v0.3.2
Published
Converts a Koa app into a supertest compatible agent instance.
Downloads
11,104
Maintainers
Readme
supertest-koa-agent
Converts a Koa app into a supertest compatible agent instance.
npm install supertest-koa-agent --save-dev
npm stats
API Example
var agent = require('supertest-koa-agent');
var Koa = require('koa')
var app = new Koa()
agent(app)
API
agent(app)
arguments
app: (Application)
Koa application instance.
returns
(Object)
Supertest agent instance.
Contributing
SEE: contributing.md