http-replay
A simple http dump-replay tool for testing koa-based apps.
Install
`$ npm instal http-replay --save-dev`
Usage
Dump
const dump_request = dump app
Testing with supertest
let server = let tester = test
Options
Dump
- enabled - Bool
- savePath - String, path to save dump data
- bypassStatic - Bool, Bypath static file or not
- verbose: Bool, pretty print dump data or not
Test
- savePath - String, where your dump data stores
- fuzzyHtml - String, fuzzy expect(body) when Content-Type is
html
License
MIT