Skip to content

Conversation

@bkwillia052
Copy link

Copy link

@kamry-bowman kamry-bowman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job on this project! Make sure you understand the distinction between what you're doing when you mount the App vs shallow render components

expect(finder.last().text()).toBe('abcd');
});
it('renders depending on App state', () => {
const wrapper = mount(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice job experimenting with mounting! you might find this article interesting https://blog.kentcdodds.com/why-i-never-use-shallow-rendering-c08851a68bb7

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.

2 participants