justmoon / co-megatest

Simple wrapper for megatest using co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple wrapper for megatest using co


Languages

Language:JavaScript 100.0%