/co-megatest

Simple wrapper for megatest using co

Primary LanguageJavaScript

This package wraps megatest in order to allow you to use it with the yield keyword and co:

Usage

const megatest = require('co-megatest')
let result = yield megatest(app).get(url).end()

Install

npm install --save-dev co-megatest megatest

Acknowledgement

This wrapper was originally created by avbel for the supertest package. Thanks to Floby for creating the supertest fork megatest.