Skip to content

chore: update react-native-testing-library to v14 - #1122

Merged
gmsgowtham merged 3 commits into
mainfrom
chore/update-testing-library-v14
Oct 6, 2026
Merged

gmsgowtham merged 3 commits into
mainfrom
chore/update-testing-library-v14

Conversation

@gmsgowtham

Copy link
Copy Markdown
Owner
  • Migrate tests to async render/fireEvent APIs.
  • Add test-renderer peer dep, drop universal-test-renderer.
  • Fix MDImage effect loop exposed by async act.

The effect ran after every render and re-fetched on each update,

causing a render loop under async act.
Migrate tests to async render/fireEvent APIs.

Add test-renderer peer dep, drop universal-test-renderer.
@gmsgowtham
gmsgowtham force-pushed the chore/update-testing-library-v14 branch from 3bdb0a1 to 9785488 Compare October 6, 2026 16:49
The floating promise outlived the test under RNTL v14 async render,

crashing reassure with require-after-teardown errors.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Performance Comparison Report

  • Current: HEAD (7569eef) - 2026-10-06 17:00:26Z
  • Baseline: main (028405d) - 2026-10-06 16:59:41Z

Significant Changes To Duration

There are no entries

Meaningless Changes To Duration

Show entries
Name Type Duration Count
Perf test Renders markdown render 7.0 ms → 6.9 ms (-0.1 ms, -2.1%) 1 → 1
Show details
Name Type Duration Count
Perf test Renders markdown render Baseline
Mean: 7.0 ms
Stdev: 0.4 ms (5.8%)
Runs: 7.9 7.0 6.8 6.8 7.5 7.4 6.7 7.0 6.8 6.7
Warmup runs: 5434.6
Removed outliers: (none)
Stability: 5.8%

Current
Mean: 6.9 ms
Stdev: 0.3 ms (4.4%)
Runs: 7.7 6.9 6.7 6.7 6.7 6.7 7.0 7.1 6.9 6.7
Warmup runs: 186.0
Removed outliers: (none)
Stability: 4.4%
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Render Count Changes

There are no entries

Render Issues

There are no entries

Added Entries

There are no entries

Removed Entries

There are no entries

Stability

Name Baseline Current
Weighted Average 5.8% 4.4%

Generated by 🚫 dangerJS against 3b30f1a

@gmsgowtham
gmsgowtham merged commit feadc75 into main Oct 6, 2026
8 of 9 checks passed
@gmsgowtham
gmsgowtham deleted the chore/update-testing-library-v14 branch October 6, 2026 17:01
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