Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Readme for toBeInDom() is incorrect #296

Open
paikchris opened this issue Feb 12, 2017 · 0 comments
Open

Readme for toBeInDom() is incorrect #296

paikchris opened this issue Feb 12, 2017 · 0 comments

Comments

@paikchris
Copy link

The actual method for calling toBeInDom() is:

expect('#my-id').toBeInDOM();

NOT

expect( $('#reviewSubmitButton')[0] ).toBeInDOM();

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

No branches or pull requests

1 participant