fixed issue if not using mocks
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 'node'
|
||||
- '4.2'
|
||||
|
@ -61,6 +61,7 @@ function localWebServer (options) {
|
||||
|
||||
options.rewrite = arrayify(options.rewrite)
|
||||
options.forbid = arrayify(options.forbid)
|
||||
options.mocks = arrayify(options.mocks)
|
||||
|
||||
const debug = require('debug')('local-web-server')
|
||||
const Koa = require('koa')
|
||||
|
Reference in New Issue
Block a user