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

Remove cleanup from some generator test templates #681

Merged
merged 3 commits into from
Jun 11, 2020
Merged

Remove cleanup from some generator test templates #681

merged 3 commits into from
Jun 11, 2020

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Jun 11, 2020

Removes cleanup from cell, component, layout, and page because it already runs automatically: https://testing-library.com/docs/react-testing-library/setup#skipping-auto-cleanup.

Removes cleanup from cell, component, layout, and page.
It's just not necessary anymore.
@cannikin
Copy link
Member

image

You love to see it!

@cannikin
Copy link
Member

Hmm, bunch of check failures. It looks like something is still expecting cleanup to be present...is that in the tests that are generated by the generator? Test inception!

@jtoar
Copy link
Contributor Author

jtoar commented Jun 11, 2020

@cannikin Yep it was in the fixtures! Now that -17 is up to -51. 🤯

@thedavidprice
Copy link
Contributor

This looks great and thanks for getting to it before me @jtoar

@RobertBroersma want to loop you in to confirm before we merge -- confirming this is what needed to be done?

@RobertBroersma
Copy link
Contributor

That was fast! Looks good to me 👍

@thedavidprice thedavidprice merged commit 1022744 into redwoodjs:master Jun 11, 2020
@thedavidprice thedavidprice added this to the next release milestone Jun 11, 2020
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.

None yet

4 participants