Détail du package

supertest-koa-agent

wilmoore3.8kMIT0.3.2

Converts a Koa app into a supertest compatible agent instance.

agent, http, koa, server

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

changelog

Change Log

All notable changes to this project will be documented in this file (keepachangelog.com).

0.2.1 - 2015-05-18

Added

  • add release scripts.

Changed

  • correct versioning.
  • update dev deps (istanbul => 0.3.14, standard => 3.11.0)
  • update deps (supertest => 1.0.1)

0.1.1 - 2015-05-12

Added

  • add supertest koa tape-runner example.

0.1.0 - 2015-05-04

Added

  • Initial Version.