-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Follow-up to #831. #835
Follow-up to #831. #835
Conversation
@@ -191,7 +191,7 @@ Test.prototype._result = function () { | |||
if (this.metadata.failing) { | |||
passed = !passed; | |||
if (!passed) { | |||
reason = new Error('Test was expected to fail, but succeeded, you should unmark the test as failing'); | |||
reason = new Error('Test was expected to fail, but succeeded. You should stop marking the test as failing'); |
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.
It's kinda weird only having a .
after the first sentence.
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.
We might want an ESLint rule for this, either way.
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.
OK, reverted to the original succeeded, you should
form.
ESLint rule?
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.
The tests are better when grouped together. I tried to give them more consistent titles too.
d479ddc
to
b1b03f2
Compare
Follow-up to #831.