-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run Mocha test #40
Comments
Any chance you can put together a small test case? I've never used mocha before. |
Sure, I created a dummy repo just to show the error. I tried also with absolute paths but don't work:
|
For some reasons is unable to find the init.js file |
I just ran your test through devtool and it seemed to work fine for me. Here's the command I ran from your repo: devtool ./node_modules/mocha/bin/_mocha -qc -- ./test/dummy-spec.js (Note: Mocha seems to quit the process when all tests finish!) That is a strange error, maybe it got corrupted during install? You can re-install globally like so: npm install devtool -g Also which platform are you on? npm version? I'm also not sure if node version matters but I've been testing on |
Ok, so doing
Works for me! My problem was that I was trying to run it like
I tried reinstalling devtool globally again and using node@5 but still fails using my approach... So maybe is this something expected and simply I didn't know how to use it properly? or it's a bug of the mocha cli? Thanks very much for the help |
Sadly the |
I see, i will close the issue now since there's nothing wrong with Devtool ^^ Thanks for the info 💪 |
Added this to the readme under |
I'm trying to use devtool with mocha.js but i get this error:
I'm using the
1.7.6
version and trying:$ devtool /usr/local/opt/nvm/v0.10.39/bin/mocha
`$ devtool /usr/local/opt/nvm/v0.10.39/bin/mocha --opts test/mocha.opts 'test/**/*.spec.js'``
Both times i get the same error. I'm doing something wrong? thanks!
The text was updated successfully, but these errors were encountered: