Skip to content

refactor: rewrite waitFor tests#1863

Merged
mdjastrzebski merged 9 commits intomainfrom
refactor/wait-for-tests-v2
Jan 13, 2026
Merged

refactor: rewrite waitFor tests#1863
mdjastrzebski merged 9 commits intomainfrom
refactor/wait-for-tests-v2

Conversation

@mdjastrzebski
Copy link
Member

Summary

Test plan

2nd

.

wait for + expect

returned error

thows on not a funciton

switching timer types

.

not ready yet

never true fake timers

throws generic timeout error when promise rejects with falsy value until timeout
@codecov
Copy link

codecov bot commented Jan 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.11%. Comparing base (2505ece) to head (c75c089).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1863      +/-   ##
==========================================
+ Coverage   96.94%   98.11%   +1.17%     
==========================================
  Files          79       79              
  Lines        1440     1435       -5     
  Branches      396      390       -6     
==========================================
+ Hits         1396     1408      +12     
+ Misses         43       26      -17     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mdjastrzebski mdjastrzebski merged commit df12e51 into main Jan 13, 2026
24 checks passed
@mdjastrzebski mdjastrzebski deleted the refactor/wait-for-tests-v2 branch January 13, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant