Skip to content

Supply a ref to the children #20

@mcnuttandrew

Description

@mcnuttandrew

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();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions