Maintainable
Write maintainable tests for your React Native apps.
From 1922d67c9239e53ec5112684bc2f3ea8f1639565 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 15 Jan 2026 17:20:52 +0000 Subject: [PATCH] deploy: bf946b07cfabd3516618e840b8236bf3c6f4a9be --- 12.x/cookbook/advanced/network-requests.html | 2 +- 12.x/cookbook/basics/async-tests.html | 2 +- 12.x/cookbook/basics/custom-render.html | 2 +- 12.x/cookbook/index.html | 2 +- 12.x/cookbook/state-management/jotai.html | 2 +- 12.x/docs/advanced/testing-env.html | 2 +- 12.x/docs/advanced/understanding-act.html | 2 +- 12.x/docs/api.html | 2 +- 12.x/docs/api/events/fire-event.html | 2 +- 12.x/docs/api/events/user-event.html | 2 +- 12.x/docs/api/jest-matchers.html | 2 +- 12.x/docs/api/misc/accessibility.html | 2 +- 12.x/docs/api/misc/async.html | 2 +- 12.x/docs/api/misc/config.html | 2 +- 12.x/docs/api/misc/other.html | 2 +- 12.x/docs/api/misc/render-hook.html | 2 +- 12.x/docs/api/queries.html | 2 +- 12.x/docs/api/render.html | 2 +- 12.x/docs/api/screen.html | 2 +- 12.x/docs/guides/community-resources.html | 2 +- 12.x/docs/guides/faq.html | 2 +- 12.x/docs/guides/how-to-query.html | 2 +- 12.x/docs/guides/troubleshooting.html | 2 +- 12.x/docs/migration/jest-matchers.html | 2 +- 12.x/docs/migration/previous/v11.html | 2 +- 12.x/docs/migration/previous/v2.html | 2 +- 12.x/docs/migration/previous/v7.html | 2 +- 12.x/docs/migration/previous/v9.html | 2 +- 12.x/docs/migration/v12.html | 2 +- 12.x/docs/start/intro.html | 2 +- 12.x/docs/start/quick-start.html | 2 +- 12.x/index.html | 2 +- 14.x/cookbook/advanced/network-requests.html | 8 +- .../{async-tests.html => async-events.html} | 17 +- 14.x/cookbook/basics/custom-render.html | 23 +- 14.x/cookbook/index.html | 6 +- 14.x/cookbook/state-management/jotai.html | 33 +- 14.x/docs/advanced/testing-env.html | 48 +- .../advanced/third-party-integration.html | 4 +- 14.x/docs/advanced/understanding-act.html | 125 ++-- 14.x/docs/api.html | 6 +- 14.x/docs/api/events/fire-event.html | 22 +- 14.x/docs/api/events/user-event.html | 37 +- 14.x/docs/api/jest-matchers.html | 10 +- 14.x/docs/api/misc/accessibility.html | 8 +- 14.x/docs/api/misc/async.html | 39 +- 14.x/docs/api/misc/config.html | 26 +- 14.x/docs/api/misc/other.html | 34 +- 14.x/docs/api/misc/render-hook.html | 26 +- 14.x/docs/api/queries.html | 56 +- 14.x/docs/api/render.html | 23 +- 14.x/docs/api/screen.html | 17 +- 14.x/docs/guides/community-resources.html | 4 +- 14.x/docs/guides/faq.html | 4 +- 14.x/docs/guides/how-to-query.html | 8 +- 14.x/docs/guides/react-19.html | 67 -- 14.x/docs/guides/troubleshooting.html | 21 +- 14.x/docs/migration/jest-matchers.html | 8 +- 14.x/docs/migration/previous/v11.html | 40 -- 14.x/docs/migration/previous/v12.html | 53 -- 14.x/docs/migration/previous/v7.html | 87 --- 14.x/docs/migration/previous/v9.html | 49 -- 14.x/docs/migration/v11.html | 40 ++ 14.x/docs/migration/v12.html | 53 ++ 14.x/docs/migration/v13.html | 6 +- 14.x/docs/migration/v14.html | 618 +++++++----------- 14.x/docs/migration/{previous => }/v2.html | 6 +- 14.x/docs/migration/v7.html | 87 +++ 14.x/docs/migration/v9.html | 49 ++ 14.x/docs/start/intro.html | 8 +- 14.x/docs/start/quick-start.html | 16 +- 14.x/index.html | 2 +- 404.html | 2 +- cookbook/advanced/network-requests.html | 2 +- cookbook/basics/async-tests.html | 2 +- cookbook/basics/custom-render.html | 2 +- cookbook/index.html | 2 +- cookbook/state-management/jotai.html | 2 +- docs/advanced/testing-env.html | 2 +- docs/advanced/third-party-integration.html | 2 +- docs/advanced/understanding-act.html | 2 +- docs/api.html | 2 +- docs/api/events/fire-event.html | 2 +- docs/api/events/user-event.html | 2 +- docs/api/jest-matchers.html | 2 +- docs/api/misc/accessibility.html | 2 +- docs/api/misc/async.html | 2 +- docs/api/misc/config.html | 2 +- docs/api/misc/other.html | 2 +- docs/api/misc/render-hook.html | 2 +- docs/api/queries.html | 2 +- docs/api/render.html | 2 +- docs/api/screen.html | 2 +- docs/guides/community-resources.html | 2 +- docs/guides/faq.html | 2 +- docs/guides/how-to-query.html | 2 +- docs/guides/react-19.html | 2 +- docs/guides/troubleshooting.html | 2 +- docs/migration/jest-matchers.html | 2 +- docs/migration/previous/v11.html | 2 +- docs/migration/previous/v12.html | 2 +- docs/migration/previous/v2.html | 2 +- docs/migration/previous/v7.html | 2 +- docs/migration/previous/v9.html | 2 +- docs/migration/v13.html | 2 +- docs/start/intro.html | 2 +- docs/start/quick-start.html | 2 +- index.html | 2 +- static/js/2179.4246b248.js | 6 + ...CENSE.txt => 2179.4246b248.js.LICENSE.txt} | 0 static/js/2179.d9a2a7b5.js | 6 - static/js/async/1020.21bafcda.js | 1 + static/js/async/1020.73a20fe8.js | 1 - .../{1290.46b49369.js => 1290.0ea47608.js} | 2 +- static/js/async/2473.225dd9ca.js | 1 - static/js/async/2473.f2ef5a90.js | 1 + static/js/async/3012.5460a8c5.js | 1 + static/js/async/3012.ef6a5af6.js | 1 - static/js/async/3014.29020a96.js | 1 + static/js/async/3014.b9747eed.js | 1 - static/js/async/3241.a9f68d86.js | 1 + static/js/async/3241.c2e74d2b.js | 1 - .../{6409.f3bad53c.js => 3655.55ec9075.js} | 2 +- static/js/async/3748.c600a55e.js | 1 - static/js/async/3815.f906da67.js | 1 + static/js/async/3828.a2961b5a.js | 1 - static/js/async/3858.22f98cfe.js | 1 + static/js/async/3858.3ac4becb.js | 1 - static/js/async/435.2768959d.js | 1 - static/js/async/435.be1e8f69.js | 1 + .../{8756.26448bca.js => 4672.f3cfc7e3.js} | 2 +- .../{1954.b9b89bd7.js => 4682.ee73a00b.js} | 2 +- static/js/async/4804.a2b409b6.js | 1 + static/js/async/4880.2c547bd2.js | 1 - static/js/async/4880.9cbeb824.js | 1 + .../{5263.45dcebf3.js => 5263.56b1ffda.js} | 2 +- static/js/async/5469.0ad2c8f8.js | 1 - static/js/async/5469.b9ad09f3.js | 1 + static/js/async/5658.226b400a.js | 1 - static/js/async/5658.743a1577.js | 1 + static/js/async/5820.39680a91.js | 1 + static/js/async/5820.a37ee32a.js | 1 - static/js/async/5828.0039d489.js | 1 - .../{6096.ce7732dc.js => 6096.2960907a.js} | 2 +- static/js/async/6600.1553f10d.js | 1 - static/js/async/6600.4d7575ff.js | 1 + static/js/async/7308.0db453da.js | 1 + static/js/async/7308.4752c501.js | 1 - .../{7487.674a4463.js => 7487.e74875d7.js} | 2 +- static/js/async/7635.2687c10f.js | 1 - static/js/async/7635.d7bc6016.js | 1 + static/js/async/7804.6a170ee3.js | 1 + static/js/async/7804.c61ebcac.js | 1 - static/js/async/7839.7405d445.js | 1 + static/js/async/7839.a9c6f362.js | 1 - static/js/async/8217.708b7f26.js | 1 + static/js/async/8369.4316ad1f.js | 1 - static/js/async/8369.889c5b23.js | 1 + static/js/async/8425.4bf9e9ab.js | 1 - static/js/async/8425.d29d5475.js | 1 + static/js/async/9498.a8b08324.js | 1 - static/js/index.3586d87d.js | 1 - static/js/index.c5a92868.js | 1 + ...3.json => search_index.13_x.d3d9e1fa.json} | 2 +- static/search_index.14_x.760cea39.json | 1 - static/search_index.14_x.e3d4eafe.json | 1 + 166 files changed, 900 insertions(+), 1105 deletions(-) rename 14.x/cookbook/basics/{async-tests.html => async-events.html} (76%) delete mode 100644 14.x/docs/guides/react-19.html delete mode 100644 14.x/docs/migration/previous/v11.html delete mode 100644 14.x/docs/migration/previous/v12.html delete mode 100644 14.x/docs/migration/previous/v7.html delete mode 100644 14.x/docs/migration/previous/v9.html create mode 100644 14.x/docs/migration/v11.html create mode 100644 14.x/docs/migration/v12.html rename 14.x/docs/migration/{previous => }/v2.html (56%) create mode 100644 14.x/docs/migration/v7.html create mode 100644 14.x/docs/migration/v9.html create mode 100644 static/js/2179.4246b248.js rename static/js/{2179.d9a2a7b5.js.LICENSE.txt => 2179.4246b248.js.LICENSE.txt} (100%) delete mode 100644 static/js/2179.d9a2a7b5.js create mode 100644 static/js/async/1020.21bafcda.js delete mode 100644 static/js/async/1020.73a20fe8.js rename static/js/async/{1290.46b49369.js => 1290.0ea47608.js} (56%) delete mode 100644 static/js/async/2473.225dd9ca.js create mode 100644 static/js/async/2473.f2ef5a90.js create mode 100644 static/js/async/3012.5460a8c5.js delete mode 100644 static/js/async/3012.ef6a5af6.js create mode 100644 static/js/async/3014.29020a96.js delete mode 100644 static/js/async/3014.b9747eed.js create mode 100644 static/js/async/3241.a9f68d86.js delete mode 100644 static/js/async/3241.c2e74d2b.js rename static/js/async/{6409.f3bad53c.js => 3655.55ec9075.js} (93%) delete mode 100644 static/js/async/3748.c600a55e.js create mode 100644 static/js/async/3815.f906da67.js delete mode 100644 static/js/async/3828.a2961b5a.js create mode 100644 static/js/async/3858.22f98cfe.js delete mode 100644 static/js/async/3858.3ac4becb.js delete mode 100644 static/js/async/435.2768959d.js create mode 100644 static/js/async/435.be1e8f69.js rename static/js/async/{8756.26448bca.js => 4672.f3cfc7e3.js} (87%) rename static/js/async/{1954.b9b89bd7.js => 4682.ee73a00b.js} (90%) create mode 100644 static/js/async/4804.a2b409b6.js delete mode 100644 static/js/async/4880.2c547bd2.js create mode 100644 static/js/async/4880.9cbeb824.js rename static/js/async/{5263.45dcebf3.js => 5263.56b1ffda.js} (56%) delete mode 100644 static/js/async/5469.0ad2c8f8.js create mode 100644 static/js/async/5469.b9ad09f3.js delete mode 100644 static/js/async/5658.226b400a.js create mode 100644 static/js/async/5658.743a1577.js create mode 100644 static/js/async/5820.39680a91.js delete mode 100644 static/js/async/5820.a37ee32a.js delete mode 100644 static/js/async/5828.0039d489.js rename static/js/async/{6096.ce7732dc.js => 6096.2960907a.js} (58%) delete mode 100644 static/js/async/6600.1553f10d.js create mode 100644 static/js/async/6600.4d7575ff.js create mode 100644 static/js/async/7308.0db453da.js delete mode 100644 static/js/async/7308.4752c501.js rename static/js/async/{7487.674a4463.js => 7487.e74875d7.js} (83%) delete mode 100644 static/js/async/7635.2687c10f.js create mode 100644 static/js/async/7635.d7bc6016.js create mode 100644 static/js/async/7804.6a170ee3.js delete mode 100644 static/js/async/7804.c61ebcac.js create mode 100644 static/js/async/7839.7405d445.js delete mode 100644 static/js/async/7839.a9c6f362.js create mode 100644 static/js/async/8217.708b7f26.js delete mode 100644 static/js/async/8369.4316ad1f.js create mode 100644 static/js/async/8369.889c5b23.js delete mode 100644 static/js/async/8425.4bf9e9ab.js create mode 100644 static/js/async/8425.d29d5475.js delete mode 100644 static/js/async/9498.a8b08324.js delete mode 100644 static/js/index.3586d87d.js create mode 100644 static/js/index.c5a92868.js rename static/{search_index.13_x.2b902103.json => search_index.13_x.d3d9e1fa.json} (99%) delete mode 100644 static/search_index.14_x.760cea39.json create mode 100644 static/search_index.14_x.e3d4eafe.json diff --git a/12.x/cookbook/advanced/network-requests.html b/12.x/cookbook/advanced/network-requests.html index 5affba22..8e05c2ab 100644 --- a/12.x/cookbook/advanced/network-requests.html +++ b/12.x/cookbook/advanced/network-requests.html @@ -6,7 +6,7 @@
render functionact functionrenderHook functionrender functionscreen object

Write maintainable tests for your React Native apps.
Promotes testing public APIs and avoiding implementation details.
Supported by React Native community and its core contributors.
Mocking network requests is an essential part of testing React Native applications. By mocking
network
@@ -221,7 +221,7 @@ Please be minded that the MSW's setup guide is potentially incomplete and m
describe('PhoneBook', () => {
it('fetches all contacts and favorites successfully and renders lists in sections correctly', async () => {
- render(<PhoneBook />);
+ await render(<PhoneBook />);
await waitForElementToBeRemoved(() => screen.getByText(/users data not quite there yet/i));
expect(await screen.findByText('Name: Mrs Ida Kristensen')).toBeOnTheScreen();
@@ -290,7 +290,7 @@ More info can be found in ...
it('fails to fetch all contacts and renders error message', async () => {
mockServerFailureForGetAllContacts();
- render(<PhoneBook />);
+ await render(<PhoneBook />);
await waitForElementToBeRemoved(() => screen.getByText(/users data not quite there yet/i));
expect(
diff --git a/14.x/cookbook/basics/async-tests.html b/14.x/cookbook/basics/async-events.html
similarity index 76%
rename from 14.x/cookbook/basics/async-tests.html
rename to 14.x/cookbook/basics/async-events.html
index f3f6a36d..687ee657 100644
--- a/14.x/cookbook/basics/async-tests.html
+++ b/14.x/cookbook/basics/async-events.html
@@ -5,20 +5,21 @@
- Async tests
+