From 7731878f36e02246c44c7c0603338c88199c0488 Mon Sep 17 00:00:00 2001 From: Sergey Morozov Date: Mon, 30 Jan 2017 15:29:25 -0800 Subject: [PATCH] Add missing 'chai-as-promised' dependency When I attempted to run e2e tests I got following error: ``` $npm run test:e2e > magicmirror@2.1.1 test:e2e /Users/sergeym/localDev/MagicMirror > ./node_modules/mocha/bin/mocha tests/e2e --recursive module.js:471 throw err; ^ Error: Cannot find module 'chai-as-promised' ... ``` Adding `chai-as-promised` to `package.json` and running npm install fixes it. --- CHANGELOG.md | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92f80d7e..52e7235c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Option for colored min-temp and max-temp - Add test e2e helloworld - Add test e2e enviroment +- Add `chai-as-promised` npm module to devDependencies ### Fixed - Update .gitignore to not ignore default modules folder. diff --git a/package.json b/package.json index 92202936..c5f6db99 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "homepage": "https://github.com/MichMich/MagicMirror#readme", "devDependencies": { "chai": "^3.5.0", + "chai-as-promised": "^6.0.0", "grunt": "latest", "grunt-eslint": "latest", "grunt-jsonlint": "latest",