If I run my app normally or in full test mode like
meteor test --full-app --driver-package tmeasday:acceptance-test-driver --settings config/config.json
it works fine. I’m try to run it in test mode like
meteor test --driver-package practicalmeteor:mocha --settings config/config.json
and I’m getting
Karambit.local ➜ my-app git:(develop) ✗ meteor test --driver-package practicalmeteor:mocha --settings config/config.json
[[[[[ Tests ]]]]]
=> Started proxy.
=> Started MongoDB.
spacejam: meteor mongodb is ready
Unable to resolve some modules:
“react/addons” in
/Users/phil/Projects/my-app/node_modules/enzyme/build/react-compat.js
(web.browser)
“react/lib/ReactContext” in
/Users/phil/Projects/my-app/node_modules/enzyme/build/react-compat.js
(web.browser)
“react/lib/ExecutionEnvironment” in
/Users/phil/Projects/my-app/node_modules/enzyme/build/react-compat.js
(web.browser)
If you notice problems related to these missing modules, consider running:
meteor npm install --save react
But I already have react install and if I install it again still get the error. This is with Meteor 1.4.4.1.
Any ideas?