mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
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:
parent
c47852cd0a
commit
7731878f36
@ -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.
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user