Skip to content
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

Fixed deepestChild() test #4

Merged
merged 1 commit into from
Jan 12, 2017

Conversation

NStephenson
Copy link
Contributor

Previously the deepestChild() test used .toEqual(), which does deep checking. If a student returned 'div#grand-node' or any of it's children, this test would pass. I've switched it to .toBe() so now this test requires the correct node to be returned.

@aturkewi

@gj
Copy link
Contributor

gj commented Jan 5, 2017

Came up again yesterday

cc: @aturkewi @cernanb

@aturkewi
Copy link
Contributor

Great catch. Thanks for the fix and explanation :)

@aturkewi aturkewi merged commit caf8d3c into learn-co-curriculum:master Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants