supertest-koa-agent

Converts a Koa app into a supertest compatible agent instance.

Usage no npm install needed!

<script type="module">
  import supertestKoaAgent from 'https://cdn.skypack.dev/supertest-koa-agent';
</script>

README

supertest-koa-agent

Converts a Koa app into a supertest compatible agent instance.

Build Status Code Climate js-standard-style

npm install supertest-koa-agent --save-dev
npm stats

npm NPM downloads Dependency Status

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

Licenses

GitHub license