Running "mocha:all" (mocha) task
Testing: http://127.0.0.1:9000/index.html
Warning: PhantomJS timed out, possibly due to a missing Mocha run() call. Use --force to continue.
Solution: Add chai and mocha to bower.json's devDependencies. It's because the test/bower.json is not installed that causes the files to be missing when tests are run.
Same issue as described at https://github.com/yeoman/generator-webapp/issues/151#issuecomment-24016275
Solution: Add
chai
andmocha
tobower.json
'sdevDependencies
. It's because thetest/bower.json
is not installed that causes the files to be missing when tests are run.