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

How to test relations between tags #42

Open
goffreder opened this issue May 25, 2015 · 1 comment
Open

How to test relations between tags #42

goffreder opened this issue May 25, 2015 · 1 comment
Labels

Comments

@goffreder
Copy link

I was trying to test that every input tag has its correspondent label tag. How can I do this in a DOM-less environment?

@kloots
Copy link
Collaborator

kloots commented May 26, 2015

My initial thought would be we could make such an assertion after the component has rendered using a componentDidMount callback. This is the approach I took for implementing logging of DOM element references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants