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

Supply a ref to the children #20

Open
mcnuttandrew opened this issue Mar 28, 2018 · 0 comments
Open

Supply a ref to the children #20

mcnuttandrew opened this issue Mar 28, 2018 · 0 comments

Comments

@mcnuttandrew
Copy link
Owner

It would be good for the tests to automatically be able to grab a hold of the components they will most likely be testing, so I propose giving a second argument to the tape test such that tests like this are possible

(t, ref) => {
t.equal(ref.innerText, 'asd', 'should find the right inner text')
t.end();
}
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

No branches or pull requests

1 participant