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
Build: add Node v10 to travis #10262
Conversation
Thank you. Looks to need to fix a test. - }, /Output is incorrect\. \(' foo = bar;' === 'invalid output'\)$/);
+ }, /Output is incorrect\. \(' foo = bar;' (?:===|strictEqual) 'invalid output'\)$/); |
Yes, thanks for pointing it out. |
Hmm, I'm not sure what the new test failings are. |
Ugh, I used the wrong node version locally 🤦♂️ I'll have a look at it later. |
I think the test failures are fixed in #10182. |
After merging #10182, it seems there are still some errors we might need to look at. So we decided to hold off on merging this for tonight's alpha release. |
@alberto |
Awesome! Thanks @tschaub |
tests/lib/testers/no-test-runners.js
Outdated
@@ -26,7 +26,7 @@ try { | |||
{ code: "var foo = bar;", output: "invalid output", errors: 1 } | |||
] | |||
}); | |||
}, /Output is incorrect\. \(' foo = bar;' === 'invalid output'\)$/); | |||
}, /Output is incorrect\. \(' foo = bar;' (?:===|strictEqual) 'invalid output'\)$/); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update this assertion to use something like this strategy for matching messages? Using a regex for error messages has caused problems when error messages change in Node core (see #10111).
I'm sorry I had some problems getting the test to fail for the right reason and then got busy, so if anyone wants to take over this, feel free to do so. |
Just pushed a commit to fix the message. 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[X] Other, please explain:
What changes did you make? (Give an overview)
Add Node v10 to travis
Is there anything you'd like reviewers to focus on?
No