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

option to switch off getReact('Foobar').should('not.exist') complaining in test log? #143

Open
thediveo opened this issue Feb 13, 2021 · 1 comment
Labels
feature_request help wanted Extra attention is needed

Comments

@thediveo
Copy link

While working on a test case involving React.Suspense with a fallback component I noticed that getReact('Foobar').should('not.exist') complains as follows:

Component not found <Foobar> There can be multiple reasons for it. > Component never meant to exists. You are good to go.

Now, in case the "good to go" case, how can I switch off this complaint just for this getReact()? Switching off log in the options doesn't suppress the "moaning" (which otherwise is perfectly useful, but not here).

@abhinaba-ghosh
Copy link
Owner

Hi @thediveo , Thanks for suggesting this.

@abhinaba-ghosh abhinaba-ghosh added the help wanted Extra attention is needed label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants