Skip to content

Commit

Permalink
Add missing 'chai-as-promised' dependency
Browse files Browse the repository at this point in the history
When I attempted to run e2e tests I got following error:

```
$npm run test:e2e

> [email protected] 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.
  • Loading branch information
Sergey Morozov committed Jan 30, 2017
1 parent c47852c commit 7731878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7731878

Please sign in to comment.