-
-
Notifications
You must be signed in to change notification settings - Fork 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
Add failing .at(0).exists() test #1478
Conversation
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 add an additional test under .at
that asserts on the length of .at(0) for this case?
@@ -2817,6 +2817,17 @@ describe('shallow', () => { | |||
}); | |||
}); | |||
|
|||
describe('at(0).exists()', () => { |
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 you move this test to be under exists
?
I moved it to |
I'm hoping for two tests here; one under |
I'm tweaking this a bit. |
This pull request adds a test for the issue #1475 but doesn't fix it.