-
Notifications
You must be signed in to change notification settings - Fork 43
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
Anne Watson - Octos - Inspiration Board #25
base: master
Are you sure you want to change the base?
Conversation
Inspiration BoardWhat We're Looking For
|
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.
Whoops, forgot to actually submit these.
exports[`Board shallow mount 1`] = ` | ||
ShallowWrapper { | ||
"length": 1, | ||
Symbol(enzyme.__root__): [Circular], |
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.
This snapshot doesn't look right - it should basically just be HTML. My guess is you're missing the enzyme JSON encoder, or don't have Jest set up to use it. See https://github.com/Ada-Developers-Academy/textbook-curriculum/blob/master/React/testing.md#installing-enzyme--react-test-renderer
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.
This ended up making the tests fail for me, since some of these serialized Enzyme objects have absolute paths from your filesystem that contain your username.
<div> | ||
<label className="new-card-form__form-label" htmlFor="emoji">Emoji</label> | ||
<input className="new-card-form__form-select" type="text" | ||
name="emoji" |
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 emoji input should be a dropdown menu - otherwise how will the user know what their options are?
Inspiration Board
Congratulations! You're submitting your assignment!
Comprehension Questions