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.
This commit is contained in:
Sergey Morozov 2017-01-30 15:29:25 -08:00
parent c47852cd0a
commit 7731878f36
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Option for colored min-temp and max-temp - Option for colored min-temp and max-temp
- Add test e2e helloworld - Add test e2e helloworld
- Add test e2e enviroment - Add test e2e enviroment
- Add `chai-as-promised` npm module to devDependencies
### Fixed ### Fixed
- Update .gitignore to not ignore default modules folder. - Update .gitignore to not ignore default modules folder.

View File

@ -30,6 +30,7 @@
"homepage": "https://github.com/MichMich/MagicMirror#readme", "homepage": "https://github.com/MichMich/MagicMirror#readme",
"devDependencies": { "devDependencies": {
"chai": "^3.5.0", "chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"grunt": "latest", "grunt": "latest",
"grunt-eslint": "latest", "grunt-eslint": "latest",
"grunt-jsonlint": "latest", "grunt-jsonlint": "latest",