fixed issue if not using mocks

This commit is contained in:
Lloyd Brookes
2015-11-24 17:33:36 +00:00
parent 77f845a31a
commit 823011c0d1
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
language: node_js
node_js:
- 'node'
- '4.2'

View File

@ -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')