dom-testing-library icon indicating copy to clipboard operation
dom-testing-library copied to clipboard

fix(waitForElementToBeRemoved): Make initial check work with getBy*.

Open make-github-pseudonymous-again opened this issue 4 years ago • 2 comments

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

codesandbox-ci[bot] avatar Jan 21 '22 16:01 codesandbox-ci[bot]

Codecov Report

Merging #1094 (d5b3f35) into main (d578c7e) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            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 data Powered by Codecov. Last update d578c7e...d5b3f35. Read the comment docs.

codecov[bot] avatar Jan 25 '22 10:01 codecov[bot]