-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
How should mutliple render calls in one test behave? #111
Comments
FWIW it's perfectly possible to have two tests invoke this very same component. |
I believe the intent was actually to show both forms for the consumer to pick one or the other, we obviously weren't clear about it. |
I think a second |
👍 this should be fixed. Cleanup failures are really annoying to debug because it effectively leaks state into subsequent tests. |
#147 added the ability to call In theory I am fine with either, but kinda lean towards automatically calling |
Should be resolved by #155. |
I just generated a component integration test for one of my components which has a hardcoded elementId (F*ck me, right?) and the test exploded into my face with
Assertion Failed: Attempted to register a view with an id already in use: myComponentName
because of the two render calls (block and non-block form).
@rwjblue on Slack:
The text was updated successfully, but these errors were encountered: