fix(waitForElementToBeRemoved): Make initial check work with getBy*.
This commit includes a regression test. Fixes #1093.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit d5b3f35775a5c80ddd7219405032ca6307a6d7e8:
| Sandbox | Source |
|---|---|
| react-testing-library-examples | Configuration |
Codecov Report
Merging #1094 (d5b3f35) into main (d578c7e) will not change coverage. The diff coverage is
100.00%.
@@ Coverage Diff @@
## main #1094 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 25
Lines 954 959 +5
Branches 314 316 +2
=========================================
+ Hits 954 959 +5
| Flag | Coverage Δ | |
|---|---|---|
| node-12 | 100.00% <100.00%> (ø) |
|
| node-14 | 100.00% <100.00%> (ø) |
|
| node-16.9.1 | 100.00% <100.00%> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/wait-for-element-to-be-removed.js | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update d578c7e...d5b3f35. Read the comment docs.