-
Notifications
You must be signed in to change notification settings - Fork 3
Supply a ref to the children #20
Copy link
Copy link
Open
Description
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();
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels