diff --git a/package.json b/package.json index c6cd659..a0d1da1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodium", - "version": "0.1.2", + "version": "0.1.3", "description": "Pure nodejs selenium webdriver functional helpers", "homepage": "https://github.com/jeromemacias/nodium", "repository": { @@ -40,6 +40,7 @@ "chai-as-promised": "~5.3", "pm2": "*", "request": "2.*", - "json-server": "0.8.*" + "json-server": "0.8.*", + "body-parser": "1.*" } } diff --git a/src/hook/jsonServer.js b/src/hook/jsonServer.js index 39018d1..98ca724 100644 --- a/src/hook/jsonServer.js +++ b/src/hook/jsonServer.js @@ -1,4 +1,5 @@ import jsonServer from 'json-server'; +import bodyParser from 'body-parser'; export function jsonServerStart(defaults = {}, port = 3030) { const server = jsonServer.create();