-
Notifications
You must be signed in to change notification settings - Fork 212
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
[fxa-settings] Fix uncalled .toBeInTheDocument references in tests #12978
Labels
Comments
4 tasks
4 tasks
sardesam
pushed a commit
that referenced
this issue
Jun 10, 2022
Because: * We want to ensure our tests are written correctly so they don't fail or pass by mistake This commit: * Corrects toBeInTheDocument to toBeInTheDocument() * Replaces expect value with the query directly, as opposed to a constant that was only holding the initial state of the query Closes #12978
4 tasks
sardesam
pushed a commit
that referenced
this issue
Jun 11, 2022
Because: * We want to ensure our tests are written correctly so they don't fail or pass by mistake This commit: * Corrects toBeInTheDocument to toBeInTheDocument() * Replaces expect value with the query directly, as opposed to a constant that was only holding the initial state of the query Closes #12978
sardesam
pushed a commit
that referenced
this issue
Jun 11, 2022
Because: * We want to ensure our tests are written correctly so they don't fail or pass by mistake This commit: * Corrects toBeInTheDocument to toBeInTheDocument() * Replaces expect value with the query directly, as opposed to a constant that was only holding the initial state of the query Closes #12978
sardesam
pushed a commit
that referenced
this issue
Jun 11, 2022
Because: * We want to ensure our tests are written correctly so they don't fail or pass by mistake This commit: * Corrects toBeInTheDocument to toBeInTheDocument() * Replaces expect value with the query directly, as opposed to a constant that was only holding the initial state of the query Closes #12978
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The other half of #12868
Description
We have tests in the following files that use
.toBeInTheDocument
instead of.toBeInTheDocument()
, making these tests look like they’re passing instead of failing:Steps to reproduce
Expected result
.toBeInTheDocument()
Actual result
.toBeInTheDocument
(which is wrong)Environment
What browser and operating system are you using?
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: