-
Notifications
You must be signed in to change notification settings - Fork 234
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
Introduce a lint rule to report error when testing promises. If a exp… #42
Merged
SimenB
merged 19 commits into
jest-community:master
from
tushardhole:valid_expect_in_promise
Jan 17, 2018
Merged
Introduce a lint rule to report error when testing promises. If a exp… #42
SimenB
merged 19 commits into
jest-community:master
from
tushardhole:valid_expect_in_promise
Jan 17, 2018
Commits on Jan 10, 2018
-
feat: implement valid-expect-in-promise rule
introduce a lint rule to report error when testing promises. If a expectation is added inside a then or catch block of promise then as per jest docs, it is mandatory to return that promise for succesfull execution of that expectation. This rule will report all such expectations where promise is not returned.
Configuration menu - View commit details
-
Copy full SHA for d70d9ed - Browse repository at this point
Copy the full SHA d70d9edView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab0f43c - Browse repository at this point
Copy the full SHA ab0f43cView commit details -
Configuration menu - View commit details
-
Copy full SHA for da393e0 - Browse repository at this point
Copy the full SHA da393e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbba301 - Browse repository at this point
Copy the full SHA dbba301View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4651b68 - Browse repository at this point
Copy the full SHA 4651b68View commit details
Commits on Jan 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5b25a69 - Browse repository at this point
Copy the full SHA 5b25a69View commit details
Commits on Jan 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8b6367d - Browse repository at this point
Copy the full SHA 8b6367dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ede8427 - Browse repository at this point
Copy the full SHA ede8427View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8614010 - Browse repository at this point
Copy the full SHA 8614010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9abdd01 - Browse repository at this point
Copy the full SHA 9abdd01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3314dbf - Browse repository at this point
Copy the full SHA 3314dbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00422dd - Browse repository at this point
Copy the full SHA 00422ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1242897 - Browse repository at this point
Copy the full SHA 1242897View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bd4572 - Browse repository at this point
Copy the full SHA 0bd4572View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4237828 - Browse repository at this point
Copy the full SHA 4237828View commit details -
Configuration menu - View commit details
-
Copy full SHA for 567b85c - Browse repository at this point
Copy the full SHA 567b85cView commit details
Commits on Jan 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5a69337 - Browse repository at this point
Copy the full SHA 5a69337View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e44766 - Browse repository at this point
Copy the full SHA 7e44766View commit details
Commits on Jan 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e2dc02c - Browse repository at this point
Copy the full SHA e2dc02cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.