-
Notifications
You must be signed in to change notification settings - Fork 967
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
Update dev dependencies (grunt, grunt-complexity, grunt-mocha) #437
Update dev dependencies (grunt, grunt-complexity, grunt-mocha) #437
Conversation
Thanks for this! I am happy to merge. I just tested it locally though, and I am seeing this error after the tests run:
Is there some dependency on growl that was added? |
Oh! I wouldn’t know about that. There is no such error when I run the tests. Which Node version are you running? Some people in mochajs/mocha#3088 suggest setting mocha: {
all: {
src: ['tests/testrunner.html']
},
options: {
run: true,
growlOnSuccess: false
}
} |
That did it. Thank you! |
Hey @ccampbell. Unfortunately, this pull request broke the test HTML on https://rawgit.com/ccampbell/mousetrap/master/tests/mousetrap.html because I’m referencing the mocha.js/mocha.css files from a Should I copy the files from the |
Hmm. Or we could just remove the link from the README. I doubt that many people actually use it. I also read that rawgit.com is shutting down soon so it will stop working anyway eventually. |
@ccampbell Right, I read that, too. Then I don’t think there is a point in maintaining it. |
Related to ccampbell#437
This pull request:
mocha.js
/mocha.css
from the local package installation.grunt mocha
withnpm test
(which executesgrunt mocha
via npm script in the package.json) in the readme.This fixes the tests logging a
Fatal error: Callback must be a function
without a tracable source. Also, tests are currently reported as failing when actually all tests pass. This is fixed as well.Full output with the current state of the repository: