-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
patch grunt-mocha to fix 'test.titlePath' errors on test failure #2775
Conversation
Seems like a good solution until we can maybe migrate to something that is either better maintained or something that doesn't rely on plugins so much. |
indeed. somewhere i have a branch that uses headless-chrome for the test runner, but i had a bunch of issues with it not detecting properly when the process had ended. |
Alternate option: use the git url in the package.json (Preferably pinned to the particular commit) until this is published |
That is possible. I'd have to create a fork and another branch since there's also the growl fix that isn't part of that grunt-mocha PR. |
@Spongman can you explain what the growl fix achieves? Surely the previous code goes through the |
Actually the require succeeds, but then growl just crashes when the test fails, so I just removed it. |
Hmm, that's a bit odd considering |
i get this:
and this when a test fails:
growl is not installed globally. |
any chance we can get this merged so we can actually see test errors in travis? |
thank you. as a reminder, issues need to be opened before pull requests are opened and tagged with the issue. this is necessary for tracking development and keeping discussion clear. thanks! |
am I missing something here? I listed two issues above that this fix addresses. |
Here's another: #2812 |
please open an issue that documents the specific problem you're solving with this pr. if it's solving a related point that comes up in a completely separate issue thread it is difficult to track. thanks. |
closes #2820 |
re: #2648, #2746, disqus/grunt-mocha#6, disqus/grunt-mocha#7,
this PR patches the grunt-mocha package with fixes so that test failures will now display the actual failure information instead of some internal
test.titlePath is not a function
error.