diff --git a/12.x/cookbook/advanced/network-requests.html b/12.x/cookbook/advanced/network-requests.html index f599ab7e..3159b97c 100644 --- a/12.x/cookbook/advanced/network-requests.html +++ b/12.x/cookbook/advanced/network-requests.html @@ -4,23 +4,23 @@ Network Requests - React Native Testing Library - + - + - + -
You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

Network Requests

+
You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

Network Requests

Introduction

Mocking network requests is an essential part of testing React Native applications. By mocking network diff --git a/12.x/cookbook/basics/async-tests.html b/12.x/cookbook/basics/async-tests.html index 05b9d3eb..ac9f3c26 100644 --- a/12.x/cookbook/basics/async-tests.html +++ b/12.x/cookbook/basics/async-tests.html @@ -4,23 +4,23 @@ Async tests - React Native Testing Library - + - + - + -

You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

Async tests

+
You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

Async tests

Summary

Typically, you would write synchronous tests, as they are simple and get the work done. However, there are cases when using asynchronous (async) tests might be necessary or beneficial. The two most common cases are:

    diff --git a/12.x/cookbook/basics/custom-render.html b/12.x/cookbook/basics/custom-render.html index c7f98ba1..c9842f97 100644 --- a/12.x/cookbook/basics/custom-render.html +++ b/12.x/cookbook/basics/custom-render.html @@ -4,23 +4,23 @@ Custom `render` function - React Native Testing Library - + - + - + -
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Custom render function

    +
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Custom render function

    Summary

    RNTL exposes the render function as the primary entry point for tests. If you make complex, repeating setups for your tests, consider creating a custom render function. The idea is to encapsulate common setup steps and test wiring inside a render function suitable for your tests.

    Example

    diff --git a/12.x/cookbook/index.html b/12.x/cookbook/index.html index 0b2d4c6b..908d247c 100644 --- a/12.x/cookbook/index.html +++ b/12.x/cookbook/index.html @@ -4,23 +4,23 @@ Introduction - React Native Testing Library - + - + - + -
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Introduction

    +
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Introduction

    Welcome to the React Native Testing Library (RNTL) Cookbook! This app is your go-to resource for learning how to effectively test React Native applications. It provides a collection of best practices, ready-made recipes, and tips & tricks to diff --git a/12.x/cookbook/state-management/jotai.html b/12.x/cookbook/state-management/jotai.html index 700ce6bd..5e78335d 100644 --- a/12.x/cookbook/state-management/jotai.html +++ b/12.x/cookbook/state-management/jotai.html @@ -4,23 +4,23 @@ Jotai - React Native Testing Library - + - + - + -

    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Jotai

    +
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Jotai

    Introduction

    Jotai is a global state management library for React that uses an atomic approach to optimize renders and solve issues like extra re-renders and the need for memoization. It scales from simple diff --git a/12.x/docs/advanced/testing-env.html b/12.x/docs/advanced/testing-env.html index e403effe..ce939e53 100644 --- a/12.x/docs/advanced/testing-env.html +++ b/12.x/docs/advanced/testing-env.html @@ -4,23 +4,23 @@ Testing environment - React Native Testing Library - + - + - + -

    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Testing environment

    +
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Testing environment

    Info

    This document is intended for a more advanced audience who want to understand the internals of our testing environment better, e.g., to contribute to the codebase. You should be able to write integration or component tests without reading this.

    React Native Testing Library allows you to write integration and component tests for your React Native app or library. While the JSX code used in tests closely resembles your React Native app, things are not as simple as they might appear. This document will describe the key elements of our testing environment and highlight things to be aware of when writing more advanced tests or diagnosing issues.

    React renderers

    diff --git a/12.x/docs/advanced/understanding-act.html b/12.x/docs/advanced/understanding-act.html index b143e259..f8e1e35d 100644 --- a/12.x/docs/advanced/understanding-act.html +++ b/12.x/docs/advanced/understanding-act.html @@ -4,23 +4,23 @@ Understanding `act` function - React Native Testing Library - + - + - + -
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Understanding act function

    +
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    Understanding act function

    When writing RNTL tests one of the things that confuses developers the most are cryptic act() function errors logged into console. In this article I will try to build an understanding of the purpose and behaviour of act() so you can build your tests with more confidence.

    act warnings

    Let’s start with typical act() warnings logged to console. There are two kinds of these issues, let’s call the first one the "sync act()" warning:

    diff --git a/12.x/docs/api.html b/12.x/docs/api.html index f7b63d10..ed7776e3 100644 --- a/12.x/docs/api.html +++ b/12.x/docs/api.html @@ -4,23 +4,23 @@ API Overview - React Native Testing Library - + - + - + -
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    API Overview

    +
    You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

    API Overview

    React Native Testing Library consists of following APIs:

    • render function - render your UI components for testing purposes
    • diff --git a/12.x/docs/api/events/fire-event.html b/12.x/docs/api/events/fire-event.html index 05f84ce0..a511d833 100644 --- a/12.x/docs/api/events/fire-event.html +++ b/12.x/docs/api/events/fire-event.html @@ -4,23 +4,23 @@ Fire Event API - React Native Testing Library - + - + - + -
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Fire Event API

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Fire Event API

      function fireEvent(element: ReactTestInstance, eventName: string, ...data: unknown[]): void;
      Note

      For common events like press or type it's recommended to use User Event API as it offers diff --git a/12.x/docs/api/events/user-event.html b/12.x/docs/api/events/user-event.html index 7328ed20..4ebb9435 100644 --- a/12.x/docs/api/events/user-event.html +++ b/12.x/docs/api/events/user-event.html @@ -4,23 +4,23 @@ User Event interactions - React Native Testing Library - + - + - + -

      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      User Event interactions

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      User Event interactions

      RNTL minimal version

      User Event interactions require RNTL v12.2.0 or later.

      Comparison with Fire Event API

      Fire Event is our original event simulation API. It can invoke any event handler declared on either host or composite elements. Suppose the element does not have onEventName event handler for the passed eventName event, or the element is disabled. In that case, Fire Event will traverse up the component tree, looking for an event handler on both host and composite elements along the way. By default, it will not pass any event data, but the user might provide it in the last argument.

      diff --git a/12.x/docs/api/jest-matchers.html b/12.x/docs/api/jest-matchers.html index 1f42c0d1..b288d2a3 100644 --- a/12.x/docs/api/jest-matchers.html +++ b/12.x/docs/api/jest-matchers.html @@ -4,23 +4,23 @@ Jest matchers - React Native Testing Library - + - + - + -
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Jest matchers

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Jest matchers

      RNTL minimal version

      Built-in Jest matchers require RNTL v12.4.0 or later.

      This guide describes built-in Jest matchers, we recommend using these matchers as they provide readable tests, accessibility support, and a better developer experience.

      Setup

      diff --git a/12.x/docs/api/misc/accessibility.html b/12.x/docs/api/misc/accessibility.html index bc23e041..8b15413d 100644 --- a/12.x/docs/api/misc/accessibility.html +++ b/12.x/docs/api/misc/accessibility.html @@ -4,23 +4,23 @@ Accessibility - React Native Testing Library - + - + - + -
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Accessibility

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Accessibility

      isHiddenFromAccessibility

      function isHiddenFromAccessibility(element: ReactTestInstance | null): boolean {}

      Also available as isInaccessible() alias for React Testing Library compatibility.

      diff --git a/12.x/docs/api/misc/async.html b/12.x/docs/api/misc/async.html index 23a08eb3..fd2de270 100644 --- a/12.x/docs/api/misc/async.html +++ b/12.x/docs/api/misc/async.html @@ -4,23 +4,23 @@ Async utilities - React Native Testing Library - + - + - + -
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Async utilities

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Async utilities

      findBy* queries

      The findBy* queries are used to find elements that are not instantly available but will be added as a result of some asynchronous action. Learn more details here.

      waitFor

      diff --git a/12.x/docs/api/misc/config.html b/12.x/docs/api/misc/config.html index 6c2ace1b..b6b465f8 100644 --- a/12.x/docs/api/misc/config.html +++ b/12.x/docs/api/misc/config.html @@ -4,23 +4,23 @@ Configuration - React Native Testing Library - + - + - + -
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Configuration

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Configuration

      configure

      type Config = {
         asyncUtilTimeout: number;
      diff --git a/12.x/docs/api/misc/other.html b/12.x/docs/api/misc/other.html
      index c23c1604..9c75324d 100644
      --- a/12.x/docs/api/misc/other.html
      +++ b/12.x/docs/api/misc/other.html
      @@ -4,23 +4,23 @@
       
       Other helpers - React Native Testing Library
       
      -
      +
       
       
       
       
      -
      +
       
       
       
       
       
       
      -
      +
       
       
         
      -    
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Other helpers

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Other helpers

      within, getQueriesForElement

      function within(element: ReactTestInstance): Queries {}
       
      diff --git a/12.x/docs/api/misc/render-hook.html b/12.x/docs/api/misc/render-hook.html
      index 572ec592..95da4890 100644
      --- a/12.x/docs/api/misc/render-hook.html
      +++ b/12.x/docs/api/misc/render-hook.html
      @@ -4,23 +4,23 @@
       
       `renderHook` function - React Native Testing Library
       
      -
      +
       
       
       
       
      -
      +
       
       
       
       
       
       
      -
      +
       
       
         
      -    
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      renderHook function

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      renderHook function

      function renderHook<Result, Props>(
         callback: (props?: Props) => Result,
         options?: RenderHookOptions<Props>
      diff --git a/12.x/docs/api/queries.html b/12.x/docs/api/queries.html
      index e9367c53..ace419c1 100644
      --- a/12.x/docs/api/queries.html
      +++ b/12.x/docs/api/queries.html
      @@ -4,23 +4,23 @@
       
       Queries - React Native Testing Library
       
      -
      +
       
       
       
       
      -
      +
       
       
       
       
       
       
      -
      +
       
       
         
      -    
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Queries

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Queries

      Queries are one of the main building blocks for the React Native Testing Library. They enable you to find relevant elements in the element tree, which represents your application's user interface when running under tests.

      Accessing queries

      All queries described below are accessible in two main ways: through the screen object or by capturing the render function call result.

      diff --git a/12.x/docs/api/render.html b/12.x/docs/api/render.html index 3436c757..48950acf 100644 --- a/12.x/docs/api/render.html +++ b/12.x/docs/api/render.html @@ -4,23 +4,23 @@ `render` function - React Native Testing Library - + - + - + -
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      render function

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      render function

      function render(
         component: React.Element<any>,
         options?: RenderOptions
      diff --git a/12.x/docs/api/screen.html b/12.x/docs/api/screen.html
      index 1d9a31e6..226da457 100644
      --- a/12.x/docs/api/screen.html
      +++ b/12.x/docs/api/screen.html
      @@ -4,23 +4,23 @@
       
       `screen` object - React Native Testing Library
       
      -
      +
       
       
       
       
      -
      +
       
       
       
       
       
       
      -
      +
       
       
         
      -    
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      screen object

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      screen object

      let screen: {
         ...queries;
         rerender(element: React.Element<unknown>): void;
      diff --git a/12.x/docs/guides/community-resources.html b/12.x/docs/guides/community-resources.html
      index a91887f4..a1e57304 100644
      --- a/12.x/docs/guides/community-resources.html
      +++ b/12.x/docs/guides/community-resources.html
      @@ -4,23 +4,23 @@
       
       Community resources - React Native Testing Library
       
      -
      +
       
       
       
       
      -
      +
       
       
       
       
       
       
      -
      +
       
       
         
      -    
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Community resources

      +
      You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

      Community resources

      • The Testing Trophy and Testing Classifications by Kent C. Dodds (2021) - classic article explaining testing philosophy behind all Testing Library implementations.
      • diff --git a/12.x/docs/guides/faq.html b/12.x/docs/guides/faq.html index 1aa55a50..7f1e5a5f 100644 --- a/12.x/docs/guides/faq.html +++ b/12.x/docs/guides/faq.html @@ -4,23 +4,23 @@ FAQ - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        FAQ

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        FAQ

        Can I test the native features of React Native apps?

        Short answer: no.

        React Native Testing Library does not provide an entire React Native runtime since that would require running on a physical device diff --git a/12.x/docs/guides/how-to-query.html b/12.x/docs/guides/how-to-query.html index 58011b2b..1f3f8f11 100644 --- a/12.x/docs/guides/how-to-query.html +++ b/12.x/docs/guides/how-to-query.html @@ -4,23 +4,23 @@ How should I query? - React Native Testing Library - + - + - + -

        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        How should I query?

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        How should I query?

        React Native Testing Library provides various query types, allowing great flexibility in finding views appropriate for your tests. At the same time, the number of queries might be confusing. This guide aims to help you pick the correct queries for your test scenarios.

        Query parts

        Each query is composed of two parts: variant and predicate, which are separated by the by word in the middle of the query.

        diff --git a/12.x/docs/guides/troubleshooting.html b/12.x/docs/guides/troubleshooting.html index 56f3285a..7f4ec8a1 100644 --- a/12.x/docs/guides/troubleshooting.html +++ b/12.x/docs/guides/troubleshooting.html @@ -4,23 +4,23 @@ Troubleshooting - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Troubleshooting

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Troubleshooting

        This guide describes common issues found by users when integrating React Native Test Library to their projects:

        Matching React Native, React & React Test Renderer versions

        Check that you have matching versions of core dependencies:

        diff --git a/12.x/docs/migration/jest-matchers.html b/12.x/docs/migration/jest-matchers.html index 055fbce5..28ae9cd9 100644 --- a/12.x/docs/migration/jest-matchers.html +++ b/12.x/docs/migration/jest-matchers.html @@ -4,23 +4,23 @@ Migration to built-in Jest matchers - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to built-in Jest matchers

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to built-in Jest matchers

        This guide describes the steps necessary to migrate from legacy Jest Native matchers v5 to built-in Jest matchers.

        General notes

        All of the built-in Jest matchers provided by the React Native Testing Library support only host elements. This should not be an issue, as all RNTL v12 queries already return only host elements. When this guide states that a given matcher should work the same it assumes behavior only host elements. If you need to assert the status of composite elements use Jest Native matchers in legacy mode.

        diff --git a/12.x/docs/migration/previous/v11.html b/12.x/docs/migration/previous/v11.html index b22f0141..59310ecc 100644 --- a/12.x/docs/migration/previous/v11.html +++ b/12.x/docs/migration/previous/v11.html @@ -4,23 +4,23 @@ Migration to 11.x - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 11.x

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 11.x

        Migration to React Native Testing Library version 11 from version 9.x or 10.x should be a relatively easy task due small amount of breaking changes.

        Breaking changes

        Update to Jest 28 if you use fake timers

        diff --git a/12.x/docs/migration/previous/v2.html b/12.x/docs/migration/previous/v2.html index 24b396c4..e5091fa8 100644 --- a/12.x/docs/migration/previous/v2.html +++ b/12.x/docs/migration/previous/v2.html @@ -4,23 +4,23 @@ Migration to 2.x - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 2.x

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 2.x

        This guide describes steps necessary to migrate from React Native Testing Library v1.x to v2.x.

        Dropping Node 8

        Node 8 reached its EOL more than 5 months ago, so it's about time to target the library to Node 10. If you used lower version, you'll have to upgrade to v10, but we recommend using the latest LTS version.

        diff --git a/12.x/docs/migration/previous/v7.html b/12.x/docs/migration/previous/v7.html index 0b603832..a9f37893 100644 --- a/12.x/docs/migration/previous/v7.html +++ b/12.x/docs/migration/previous/v7.html @@ -4,23 +4,23 @@ Migration to 7.x - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 7.x

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 7.x

        Info

        We renamed the react-native-testing-library npm package to @testing-library/react-native, officially joining the "Testing Library" family 🎉.

        As the version 7.0 involves merging two libraries together, there are two variants for migration guide, dependent on library you used previously:

        Guide for react-native-testing-library users

        diff --git a/12.x/docs/migration/previous/v9.html b/12.x/docs/migration/previous/v9.html index 40165393..02fcb19d 100644 --- a/12.x/docs/migration/previous/v9.html +++ b/12.x/docs/migration/previous/v9.html @@ -4,23 +4,23 @@ Migration to 9.x - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 9.x

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 9.x

        Version 7.0 brought React Native Testing Library into the @testing-library family. Since it has been implemented independently from its web counterpart – the React Testing Library – there are some differences in the API and behavior. Version 9.0 solves several of these problems.

        Support for text match options a.k.a string precision API

        This is a backward compatible change.

        diff --git a/12.x/docs/migration/v12.html b/12.x/docs/migration/v12.html index 05bf438a..69afd963 100644 --- a/12.x/docs/migration/v12.html +++ b/12.x/docs/migration/v12.html @@ -4,23 +4,23 @@ Migration to 12.x - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 12.x

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Migration to 12.x

        Info

        If you are already using legacy @testing-library/jest-native Jest Matchers, we have a migration guide for moving to the built-in matchers.

        React Native Testing Library 12 introduces a handful of breaking changes compared to 11.x versions. We believe they were necessary to improve the experience using the library and help the users fall into the pit of success when writing meaningful tests. You will find migration instructions for each and every change described below.

        Breaking changes

        diff --git a/12.x/docs/start/intro.html b/12.x/docs/start/intro.html index 952ef44b..9d90ba23 100644 --- a/12.x/docs/start/intro.html +++ b/12.x/docs/start/intro.html @@ -4,23 +4,23 @@ Introduction - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Introduction

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Introduction

        The problem

        You want to write maintainable tests for your React Native components. As a part of this goal, you want your tests to avoid including implementation details of your components and focus on making your tests give you the confidence they are intended. As part of this, you want your tests to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down.

        This solution

        diff --git a/12.x/docs/start/quick-start.html b/12.x/docs/start/quick-start.html index c67bab67..6e2022de 100644 --- a/12.x/docs/start/quick-start.html +++ b/12.x/docs/start/quick-start.html @@ -4,23 +4,23 @@ Quick Start - React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Quick Start

        +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        Quick Start

        Installation

        Open a Terminal in your project's folder and run:

        yarn
        npm
        yarn add -D @testing-library/react-native
        diff --git a/12.x/index.html b/12.x/index.html index e6c634aa..a7aed401 100644 --- a/12.x/index.html +++ b/12.x/index.html @@ -4,23 +4,23 @@ React Native Testing Library - + - + - + -
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        React Native Testing Library

        Helps you to write better tests with less effort.
        ✨

        Maintainable

        Write maintainable tests for your React Native apps.

        ✅

        Reliable

        Promotes testing public APIs and avoiding implementation details.

        ❤️

        Community Driven

        Supported by React Native community and its core contributors.

        Need React or React Native +
        You're viewing the documentation for 12.x. Current latest version is 13.x.View latest version here.

        JavaScript Integration testing for React Native

        The more your tests resemble the way your software is used, the more confidence they can give you.
        — Kent C. Dodds

        Maintainable

        Write maintainable tests for your React Native apps.

        Reliable

        Promotes testing public APIs and avoiding implementation details.

        Community Driven

        Supported by React Native community and its core contributors.

        Need React or React Native expertise you can count on?

        We've spent years building full-stack, cross-platform apps and solving tough technical challenges.

        Copyright © 2026 Callstack Open Source
        diff --git a/14.x/cookbook/advanced/network-requests.html b/14.x/cookbook/advanced/network-requests.html index 9835c9db..a79f71bc 100644 --- a/14.x/cookbook/advanced/network-requests.html +++ b/14.x/cookbook/advanced/network-requests.html @@ -4,23 +4,23 @@ Network Requests - React Native Testing Library - + - + - + -
        You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

        Network Requests

        +
        You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

        Network Requests

        Introduction

        Mocking network requests is an essential part of testing React Native applications. By mocking network diff --git a/14.x/cookbook/basics/async-events.html b/14.x/cookbook/basics/async-events.html index 969bebc4..b7a39138 100644 --- a/14.x/cookbook/basics/async-events.html +++ b/14.x/cookbook/basics/async-events.html @@ -4,23 +4,23 @@ Async Events - React Native Testing Library - + - + - + -

        You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

        Async Events

        +
        You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

        Async Events

        Summary

        In RNTL v14, all tests are async since render(), fireEvent(), and other core APIs return Promises. Beyond the basic async APIs, there are additional async utilities for handling events that complete over time:

          diff --git a/14.x/cookbook/basics/custom-render.html b/14.x/cookbook/basics/custom-render.html index 38c94623..166fcc81 100644 --- a/14.x/cookbook/basics/custom-render.html +++ b/14.x/cookbook/basics/custom-render.html @@ -4,23 +4,23 @@ Custom `render` function - React Native Testing Library - + - + - + -
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Custom render function

          +
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Custom render function

          Summary

          RNTL exposes the render function as the primary entry point for tests. If you make complex, repeating setups for your tests, consider creating a custom render function. The idea is to encapsulate common setup steps and test wiring inside a render function suitable for your tests.

          Example

          diff --git a/14.x/cookbook/index.html b/14.x/cookbook/index.html index c88928e5..550644c4 100644 --- a/14.x/cookbook/index.html +++ b/14.x/cookbook/index.html @@ -4,23 +4,23 @@ Introduction - React Native Testing Library - + - + - + -
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Introduction

          +
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Introduction

          Welcome to the React Native Testing Library (RNTL) Cookbook! This app is your go-to resource for learning how to effectively test React Native applications. It provides a collection of best practices, ready-made recipes, and tips & tricks to diff --git a/14.x/cookbook/state-management/jotai.html b/14.x/cookbook/state-management/jotai.html index 5c5c20cb..13e0d18c 100644 --- a/14.x/cookbook/state-management/jotai.html +++ b/14.x/cookbook/state-management/jotai.html @@ -4,23 +4,23 @@ Jotai - React Native Testing Library - + - + - + -

          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Jotai

          +
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Jotai

          Introduction

          Jotai is a global state management library for React that uses an atomic approach to optimize renders and solve issues like extra re-renders and the need for memoization. It scales from simple diff --git a/14.x/docs/advanced/testing-env.html b/14.x/docs/advanced/testing-env.html index a8336f4a..457d103c 100644 --- a/14.x/docs/advanced/testing-env.html +++ b/14.x/docs/advanced/testing-env.html @@ -4,23 +4,23 @@ Testing environment - React Native Testing Library - + - + - + -

          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Testing environment

          +
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Testing environment

          Info

          This document is intended for a more advanced audience who want to understand the internals of our testing environment better, e.g., to contribute to the codebase. You should be able to write integration or component tests without reading this.

          React Native Testing Library allows you to write integration and component tests for your React Native app or library. While the JSX code used in tests closely resembles your React Native app, things are not as simple as they might appear. This document will describe the key elements of our testing environment and highlight things to be aware of when writing more advanced tests or diagnosing issues.

          React renderers

          diff --git a/14.x/docs/advanced/third-party-integration.html b/14.x/docs/advanced/third-party-integration.html index 24cae236..6c8c1616 100644 --- a/14.x/docs/advanced/third-party-integration.html +++ b/14.x/docs/advanced/third-party-integration.html @@ -4,23 +4,23 @@ Third-Party Library Integration - React Native Testing Library - + - + - + -
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Third-Party Library Integration

          +
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Third-Party Library Integration

          The React Native Testing Library is designed to simulate the core behaviors of React Native. However, it does not replicate the internal logic of third-party libraries. This guide explains how to integrate your library with RNTL.

          Handling Events in Third-Party Libraries

          RNTL provides two subsystems to simulate events:

          diff --git a/14.x/docs/advanced/understanding-act.html b/14.x/docs/advanced/understanding-act.html index 77197cfd..5e26dfba 100644 --- a/14.x/docs/advanced/understanding-act.html +++ b/14.x/docs/advanced/understanding-act.html @@ -4,23 +4,23 @@ Understanding `act` function - React Native Testing Library - + - + - + -
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Understanding act function

          +
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          Understanding act function

          When writing RNTL tests one of the things that confuses developers the most are cryptic act() function errors logged into console. In this article I will try to build an understanding of the purpose and behaviour of act() so you can build your tests with more confidence.

          act warning

          Let's start with a typical act() warning logged to console:

          diff --git a/14.x/docs/api.html b/14.x/docs/api.html index 5fe3b270..c9d00735 100644 --- a/14.x/docs/api.html +++ b/14.x/docs/api.html @@ -4,23 +4,23 @@ API Overview - React Native Testing Library - + - + - + -
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          API Overview

          +
          You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

          API Overview

          React Native Testing Library consists of following APIs:

          • render function - render your UI components for testing purposes
          • diff --git a/14.x/docs/api/events/fire-event.html b/14.x/docs/api/events/fire-event.html index c2c5c680..ce12096a 100644 --- a/14.x/docs/api/events/fire-event.html +++ b/14.x/docs/api/events/fire-event.html @@ -4,23 +4,23 @@ Fire Event API - React Native Testing Library - + - + - + -
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Fire Event API

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Fire Event API

            fireEvent

            Note

            For common events like press or type it's recommended to use User Event API as it offers diff --git a/14.x/docs/api/events/user-event.html b/14.x/docs/api/events/user-event.html index 085f37f0..6ee88ae7 100644 --- a/14.x/docs/api/events/user-event.html +++ b/14.x/docs/api/events/user-event.html @@ -4,23 +4,23 @@ User Event interactions - React Native Testing Library - + - + - + -

            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            User Event interactions

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            User Event interactions

            Comparison with Fire Event API

            Fire Event is our original event simulation API. It can invoke any event handler declared on either host or composite elements. Suppose the element does not have onEventName event handler for the passed eventName event, or the element is disabled. In that case, Fire Event will traverse up the component tree, looking for an event handler on both host and composite elements along the way. By default, it will not pass any event data, but the user might provide it in the last argument.

            In contrast, User Event provides realistic event simulation for user interactions like press or type. Each interaction will trigger a sequence of events corresponding to React Native runtime behavior. These events will be invoked only on host elements, and will automatically receive event data corresponding to each event.

            diff --git a/14.x/docs/api/jest-matchers.html b/14.x/docs/api/jest-matchers.html index 88d43982..e2d47346 100644 --- a/14.x/docs/api/jest-matchers.html +++ b/14.x/docs/api/jest-matchers.html @@ -4,23 +4,23 @@ Jest matchers - React Native Testing Library - + - + - + -
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Jest matchers

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Jest matchers

            This guide describes built-in Jest matchers, we recommend using these matchers as they provide readable tests, accessibility support, and a better developer experience.

            Setup

            There is no need to set up the built-in matchers; they are automatically available in your tests when you import anything from @testing-library/react-native, e.g., render.

            diff --git a/14.x/docs/api/misc/accessibility.html b/14.x/docs/api/misc/accessibility.html index 099a2cdc..ba2a4367 100644 --- a/14.x/docs/api/misc/accessibility.html +++ b/14.x/docs/api/misc/accessibility.html @@ -4,23 +4,23 @@ Accessibility - React Native Testing Library - + - + - + -
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Accessibility

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Accessibility

            isHiddenFromAccessibility

            function isHiddenFromAccessibility(element: HostElement | null): boolean {}

            Also available as isInaccessible() alias for React Testing Library compatibility.

            diff --git a/14.x/docs/api/misc/async.html b/14.x/docs/api/misc/async.html index 98e8f669..1d696c24 100644 --- a/14.x/docs/api/misc/async.html +++ b/14.x/docs/api/misc/async.html @@ -4,23 +4,23 @@ Async utilities - React Native Testing Library - + - + - + -
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Async utilities

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Async utilities

            findBy* queries

            The findBy* queries are used to find elements that are not instantly available but will be added as a result of some asynchronous action. Learn more details here.

            waitFor

            diff --git a/14.x/docs/api/misc/config.html b/14.x/docs/api/misc/config.html index 3f0cfcf7..eea35007 100644 --- a/14.x/docs/api/misc/config.html +++ b/14.x/docs/api/misc/config.html @@ -4,23 +4,23 @@ Configuration - React Native Testing Library - + - + - + -
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Configuration

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Configuration

            configure

            type Config = {
               /** Default timeout, in ms, for `waitFor` and `findBy*` queries. */
            diff --git a/14.x/docs/api/misc/other.html b/14.x/docs/api/misc/other.html
            index 63c83712..9221a44c 100644
            --- a/14.x/docs/api/misc/other.html
            +++ b/14.x/docs/api/misc/other.html
            @@ -4,23 +4,23 @@
             
             Other helpers - React Native Testing Library
             
            -
            +
             
             
             
             
            -
            +
             
             
             
             
             
             
            -
            +
             
             
               
            -    
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Other helpers

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Other helpers

            within

            function within(element: HostElement): Queries {}

            within performs queries scoped to given element.

            diff --git a/14.x/docs/api/misc/render-hook.html b/14.x/docs/api/misc/render-hook.html index 97748887..6b20e770 100644 --- a/14.x/docs/api/misc/render-hook.html +++ b/14.x/docs/api/misc/render-hook.html @@ -4,23 +4,23 @@ `renderHook` function - React Native Testing Library - + - + - + -
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            renderHook function

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            renderHook function

            renderHook

            async function renderHook<Result, Props>(
               hookFn: (props: Props) => Result,
            diff --git a/14.x/docs/api/queries.html b/14.x/docs/api/queries.html
            index cd6875fd..d46c177b 100644
            --- a/14.x/docs/api/queries.html
            +++ b/14.x/docs/api/queries.html
            @@ -4,23 +4,23 @@
             
             Queries - React Native Testing Library
             
            -
            +
             
             
             
             
            -
            +
             
             
             
             
             
             
            -
            +
             
             
               
            -    
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Queries

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Queries

            Queries are one of the main building blocks for the React Native Testing Library. They enable you to find relevant elements in the element tree, which represents your application's user interface when running under tests.

            Accessing queries

            All queries described below are accessible in two main ways: through the screen object or by capturing the render function call result.

            diff --git a/14.x/docs/api/render.html b/14.x/docs/api/render.html index 70ce2788..419b587e 100644 --- a/14.x/docs/api/render.html +++ b/14.x/docs/api/render.html @@ -4,23 +4,23 @@ `render` API - React Native Testing Library - + - + - + -
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            render API

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            render API

            render function

            async function render<T>(
               element: React.ReactElement<T>,
            diff --git a/14.x/docs/api/screen.html b/14.x/docs/api/screen.html
            index 9bc02001..985fcc22 100644
            --- a/14.x/docs/api/screen.html
            +++ b/14.x/docs/api/screen.html
            @@ -4,23 +4,23 @@
             
             `screen` object - React Native Testing Library
             
            -
            +
             
             
             
             
            -
            +
             
             
             
             
             
             
            -
            +
             
             
               
            -    
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            screen object

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            screen object

            let screen: {
               ...queries;
               rerender(element: React.Element<unknown>): Promise<void>;
            diff --git a/14.x/docs/guides/community-resources.html b/14.x/docs/guides/community-resources.html
            index 5b133a80..6ce394c9 100644
            --- a/14.x/docs/guides/community-resources.html
            +++ b/14.x/docs/guides/community-resources.html
            @@ -4,23 +4,23 @@
             
             Community resources - React Native Testing Library
             
            -
            +
             
             
             
             
            -
            +
             
             
             
             
             
             
            -
            +
             
             
               
            -    
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Community resources

            +
            You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

            Community resources

            • The Testing Trophy and Testing Classifications by Kent C. Dodds (2021) - classic article explaining testing philosophy behind all Testing Library implementations.
            • diff --git a/14.x/docs/guides/faq.html b/14.x/docs/guides/faq.html index b01aa0bd..1bab3434 100644 --- a/14.x/docs/guides/faq.html +++ b/14.x/docs/guides/faq.html @@ -4,23 +4,23 @@ FAQ - React Native Testing Library - + - + - + -
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              FAQ

              +
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              FAQ

              Can I test the native features of React Native apps?

              Short answer: no.

              React Native Testing Library does not provide an entire React Native runtime since that would require running on a physical device diff --git a/14.x/docs/guides/how-to-query.html b/14.x/docs/guides/how-to-query.html index 9486edbe..87d4c71a 100644 --- a/14.x/docs/guides/how-to-query.html +++ b/14.x/docs/guides/how-to-query.html @@ -4,23 +4,23 @@ How should I query? - React Native Testing Library - + - + - + -

              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              How should I query?

              +
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              How should I query?

              React Native Testing Library provides various query types, allowing great flexibility in finding views appropriate for your tests. At the same time, the number of queries might be confusing. This guide aims to help you pick the correct queries for your test scenarios.

              Query parts

              Each query is composed of two parts: variant and predicate, which are separated by the by word in the middle of the query.

              diff --git a/14.x/docs/guides/troubleshooting.html b/14.x/docs/guides/troubleshooting.html index ee44757b..e30ac35f 100644 --- a/14.x/docs/guides/troubleshooting.html +++ b/14.x/docs/guides/troubleshooting.html @@ -4,23 +4,23 @@ Troubleshooting - React Native Testing Library - + - + - + -
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Troubleshooting

              +
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Troubleshooting

              This guide describes common issues found by users when integrating React Native Test Library to their projects:

              Example repository

              We maintain an example repository that showcases a modern React Native Testing Library setup with TypeScript, etc.

              diff --git a/14.x/docs/start/intro.html b/14.x/docs/start/intro.html index a43a551e..f1d6699e 100644 --- a/14.x/docs/start/intro.html +++ b/14.x/docs/start/intro.html @@ -4,23 +4,23 @@ Introduction - React Native Testing Library - + - + - + -
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Introduction

              +
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Introduction

              Alpha Version

              This version is currently in alpha. APIs and behavior may change before the stable release. Please report any issues you encounter.

              The problem

              You want to write maintainable tests for your React Native components. As a part of this goal, you want your tests to avoid including implementation details of your components and focus on making your tests give you the confidence they are intended. As part of this, you want your tests to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down.

              diff --git a/14.x/docs/start/migration-v14.html b/14.x/docs/start/migration-v14.html index 4a0adc6f..d65c12fc 100644 --- a/14.x/docs/start/migration-v14.html +++ b/14.x/docs/start/migration-v14.html @@ -4,23 +4,23 @@ Migration to 14.x - React Native Testing Library - + - + - + -
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Migration to 14.x

              +
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Migration to 14.x

              Alpha Version

              This version is currently in alpha. APIs and behavior may change before the stable release. Please report any issues you encounter.

              This guide describes the migration to React Native Testing Library version 14 from version 13.x.

              Overview

              diff --git a/14.x/docs/start/quick-start.html b/14.x/docs/start/quick-start.html index aa882ab2..933655e6 100644 --- a/14.x/docs/start/quick-start.html +++ b/14.x/docs/start/quick-start.html @@ -4,23 +4,23 @@ Quick Start - React Native Testing Library - + - + - + -
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Quick Start

              +
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              Quick Start

              Alpha Version

              This version is currently in alpha. APIs and behavior may change before the stable release. Please report any issues you encounter.

              Installation

              Open a Terminal in your project's folder and run:

              diff --git a/14.x/index.html b/14.x/index.html index 0be5d3b7..229fdf2f 100644 --- a/14.x/index.html +++ b/14.x/index.html @@ -4,23 +4,23 @@ React Native Testing Library - + - + - + -
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              React Native Testing Library

              Helps you to write better tests with less effort.
              ✨

              Maintainable

              Write maintainable tests for your React Native apps.

              ✅

              Reliable

              Promotes testing public APIs and avoiding implementation details.

              ❤️

              Community Driven

              Supported by React Native community and its core contributors.

              Need React or React Native +
              You are viewing documentation for v14 alpha. This version is under active development and APIs may change.

              JavaScript Integration testing for React Native

              The more your tests resemble the way your software is used, the more confidence they can give you.
              — Kent C. Dodds

              Maintainable

              Write maintainable tests for your React Native apps.

              Reliable

              Promotes testing public APIs and avoiding implementation details.

              Community Driven

              Supported by React Native community and its core contributors.

              Need React or React Native expertise you can count on?

              We've spent years building full-stack, cross-platform apps and solving tough technical challenges.

              Copyright © 2026 Callstack Open Source
              diff --git a/404.html b/404.html index 296f6160..fddfdfa0 100644 --- a/404.html +++ b/404.html @@ -4,23 +4,23 @@ React Native Testing Library - + - + - + - +
              diff --git a/cookbook/advanced/network-requests.html b/cookbook/advanced/network-requests.html index 640ed5cf..d447ab20 100644 --- a/cookbook/advanced/network-requests.html +++ b/cookbook/advanced/network-requests.html @@ -4,23 +4,23 @@ Network Requests - React Native Testing Library - + - + - + -

              Network Requests

              +

              Network Requests

              Introduction

              Mocking network requests is an essential part of testing React Native applications. By mocking network diff --git a/cookbook/basics/async-tests.html b/cookbook/basics/async-tests.html index 5add1841..c610b53d 100644 --- a/cookbook/basics/async-tests.html +++ b/cookbook/basics/async-tests.html @@ -4,23 +4,23 @@ Async tests - React Native Testing Library - + - + - + -

              Async tests

              +

              Async tests

              Summary

              Typically, you would write synchronous tests, as they are simple and get the work done. However, there are cases when using asynchronous (async) tests might be necessary or beneficial. The two most common cases are:

                diff --git a/cookbook/basics/custom-render.html b/cookbook/basics/custom-render.html index 6c832e6f..e4c37116 100644 --- a/cookbook/basics/custom-render.html +++ b/cookbook/basics/custom-render.html @@ -4,23 +4,23 @@ Custom `render` function - React Native Testing Library - + - + - + -

                Custom render function

                +

                Custom render function

                Summary

                RNTL exposes the render function as the primary entry point for tests. If you make complex, repeating setups for your tests, consider creating a custom render function. The idea is to encapsulate common setup steps and test wiring inside a render function suitable for your tests.

                Example

                diff --git a/cookbook/index.html b/cookbook/index.html index 28ee98f8..f3f705a1 100644 --- a/cookbook/index.html +++ b/cookbook/index.html @@ -4,23 +4,23 @@ Introduction - React Native Testing Library - + - + - + -

                Introduction

                +

                Introduction

                Welcome to the React Native Testing Library (RNTL) Cookbook! This app is your go-to resource for learning how to effectively test React Native applications. It provides a collection of best practices, ready-made recipes, and tips & tricks to diff --git a/cookbook/state-management/jotai.html b/cookbook/state-management/jotai.html index a872eabe..db4c683c 100644 --- a/cookbook/state-management/jotai.html +++ b/cookbook/state-management/jotai.html @@ -4,23 +4,23 @@ Jotai - React Native Testing Library - + - + - + -

                Jotai

                +

                Jotai

                Introduction

                Jotai is a global state management library for React that uses an atomic approach to optimize renders and solve issues like extra re-renders and the need for memoization. It scales from simple diff --git a/docs/advanced/testing-env.html b/docs/advanced/testing-env.html index 8a8ac2a4..051eb249 100644 --- a/docs/advanced/testing-env.html +++ b/docs/advanced/testing-env.html @@ -4,23 +4,23 @@ Testing environment - React Native Testing Library - + - + - + -

                Testing environment

                +

                Testing environment

                Info

                This document is intended for a more advanced audience who want to understand the internals of our testing environment better, e.g., to contribute to the codebase. You should be able to write integration or component tests without reading this.

                React Native Testing Library allows you to write integration and component tests for your React Native app or library. While the JSX code used in tests closely resembles your React Native app, things are not as simple as they might appear. This document will describe the key elements of our testing environment and highlight things to be aware of when writing more advanced tests or diagnosing issues.

                React renderers

                diff --git a/docs/advanced/third-party-integration.html b/docs/advanced/third-party-integration.html index a9c455d2..5d2f8b03 100644 --- a/docs/advanced/third-party-integration.html +++ b/docs/advanced/third-party-integration.html @@ -4,23 +4,23 @@ Third-Party Library Integration - React Native Testing Library - + - + - + -

                Third-Party Library Integration

                +

                Third-Party Library Integration

                The React Native Testing Library is designed to simulate the core behaviors of React Native. However, it does not replicate the internal logic of third-party libraries. This guide explains how to integrate your library with RNTL.

                Handling Events in Third-Party Libraries

                RNTL provides two subsystems to simulate events:

                diff --git a/docs/advanced/understanding-act.html b/docs/advanced/understanding-act.html index 5c729b79..18464092 100644 --- a/docs/advanced/understanding-act.html +++ b/docs/advanced/understanding-act.html @@ -4,23 +4,23 @@ Understanding `act` function - React Native Testing Library - + - + - + -

                Understanding act function

                +

                Understanding act function

                When writing RNTL tests one of the things that confuses developers the most are cryptic act() function errors logged into console. In this article I will try to build an understanding of the purpose and behaviour of act() so you can build your tests with more confidence.

                act warnings

                Let’s start with typical act() warnings logged to console. There are two kinds of these issues, let’s call the first one the "sync act()" warning:

                diff --git a/docs/api.html b/docs/api.html index dcc02eed..63cb7727 100644 --- a/docs/api.html +++ b/docs/api.html @@ -4,23 +4,23 @@ API Overview - React Native Testing Library - + - + - + -

                API Overview

                +

                API Overview

                React Native Testing Library consists of following APIs:

                • render function - render your UI components for testing purposes
                • diff --git a/docs/api/events/fire-event.html b/docs/api/events/fire-event.html index d0b17930..4990d539 100644 --- a/docs/api/events/fire-event.html +++ b/docs/api/events/fire-event.html @@ -4,23 +4,23 @@ Fire Event API - React Native Testing Library - + - + - + -

                  Fire Event API

                  +

                  Fire Event API

                  fireEvent

                  Note

                  For common events like press or type it's recommended to use User Event API as it offers diff --git a/docs/api/events/user-event.html b/docs/api/events/user-event.html index 7cf9b6fd..a895c31f 100644 --- a/docs/api/events/user-event.html +++ b/docs/api/events/user-event.html @@ -4,23 +4,23 @@ User Event interactions - React Native Testing Library - + - + - + -

                  User Event interactions

                  +

                  User Event interactions

                  Comparison with Fire Event API

                  Fire Event is our original event simulation API. It can invoke any event handler declared on either host or composite elements. Suppose the element does not have onEventName event handler for the passed eventName event, or the element is disabled. In that case, Fire Event will traverse up the component tree, looking for an event handler on both host and composite elements along the way. By default, it will not pass any event data, but the user might provide it in the last argument.

                  In contrast, User Event provides realistic event simulation for user interactions like press or type. Each interaction will trigger a sequence of events corresponding to React Native runtime behavior. These events will be invoked only on host elements, and will automatically receive event data corresponding to each event.

                  diff --git a/docs/api/jest-matchers.html b/docs/api/jest-matchers.html index 362e4c0a..60ad5f40 100644 --- a/docs/api/jest-matchers.html +++ b/docs/api/jest-matchers.html @@ -4,23 +4,23 @@ Jest matchers - React Native Testing Library - + - + - + -

                  Jest matchers

                  +

                  Jest matchers

                  This guide describes built-in Jest matchers, we recommend using these matchers as they provide readable tests, accessibility support, and a better developer experience.

                  Setup

                  There is no need to set up the built-in matchers; they are automatically available in your tests when you import anything from @testing-library/react-native, e.g., render.

                  diff --git a/docs/api/misc/accessibility.html b/docs/api/misc/accessibility.html index 6cc0884f..2269d71c 100644 --- a/docs/api/misc/accessibility.html +++ b/docs/api/misc/accessibility.html @@ -4,23 +4,23 @@ Accessibility - React Native Testing Library - + - + - + -

                  Accessibility

                  +

                  Accessibility

                  isHiddenFromAccessibility

                  function isHiddenFromAccessibility(element: ReactTestInstance | null): boolean {}

                  Also available as isInaccessible() alias for React Testing Library compatibility.

                  diff --git a/docs/api/misc/async.html b/docs/api/misc/async.html index 74d5e2eb..e66f7aea 100644 --- a/docs/api/misc/async.html +++ b/docs/api/misc/async.html @@ -4,23 +4,23 @@ Async utilities - React Native Testing Library - + - + - + -

                  Async utilities

                  +

                  Async utilities

                  findBy* queries

                  The findBy* queries are used to find elements that are not instantly available but will be added as a result of some asynchronous action. Learn more details here.

                  waitFor

                  diff --git a/docs/api/misc/config.html b/docs/api/misc/config.html index 6c53bbea..90822ab6 100644 --- a/docs/api/misc/config.html +++ b/docs/api/misc/config.html @@ -4,23 +4,23 @@ Configuration - React Native Testing Library - + - + - + -

                  Configuration

                  +

                  Configuration

                  configure

                  type Config = {
                     asyncUtilTimeout: number;
                  diff --git a/docs/api/misc/other.html b/docs/api/misc/other.html
                  index e485b091..882ad7a3 100644
                  --- a/docs/api/misc/other.html
                  +++ b/docs/api/misc/other.html
                  @@ -4,23 +4,23 @@
                   
                   Other helpers - React Native Testing Library
                   
                  -
                  +
                   
                   
                   
                   
                  -
                  +
                   
                   
                   
                   
                   
                   
                  -
                  +
                   
                   
                     
                  -    

                  Other helpers

                  +

                  Other helpers

                  within, getQueriesForElement

                  function within(element: ReactTestInstance): Queries {}
                   
                  diff --git a/docs/api/misc/render-hook.html b/docs/api/misc/render-hook.html
                  index 706595fe..e67ca2be 100644
                  --- a/docs/api/misc/render-hook.html
                  +++ b/docs/api/misc/render-hook.html
                  @@ -4,23 +4,23 @@
                   
                   `renderHook` function - React Native Testing Library
                   
                  -
                  +
                   
                   
                   
                   
                  -
                  +
                   
                   
                   
                   
                   
                   
                  -
                  +
                   
                   
                     
                  -    

                  renderHook function

                  +

                  renderHook function

                  renderHook

                  function renderHook<Result, Props>(
                     hookFn: (props?: Props) => Result,
                  diff --git a/docs/api/queries.html b/docs/api/queries.html
                  index a152bf5c..0968d834 100644
                  --- a/docs/api/queries.html
                  +++ b/docs/api/queries.html
                  @@ -4,23 +4,23 @@
                   
                   Queries - React Native Testing Library
                   
                  -
                  +
                   
                   
                   
                   
                  -
                  +
                   
                   
                   
                   
                   
                   
                  -
                  +
                   
                   
                     
                  -    

                  Queries

                  +

                  Queries

                  Queries are one of the main building blocks for the React Native Testing Library. They enable you to find relevant elements in the element tree, which represents your application's user interface when running under tests.

                  Accessing queries

                  All queries described below are accessible in two main ways: through the screen object or by capturing the render function call result.

                  diff --git a/docs/api/render.html b/docs/api/render.html index bae15207..d1997b0e 100644 --- a/docs/api/render.html +++ b/docs/api/render.html @@ -4,23 +4,23 @@ `render` API - React Native Testing Library - + - + - + -

                  render API

                  +

                  render API

                  render function

                  function render(
                     component: React.Element<any>,
                  diff --git a/docs/api/screen.html b/docs/api/screen.html
                  index 99edbef7..5c0727c5 100644
                  --- a/docs/api/screen.html
                  +++ b/docs/api/screen.html
                  @@ -4,23 +4,23 @@
                   
                   `screen` object - React Native Testing Library
                   
                  -
                  +
                   
                   
                   
                   
                  -
                  +
                   
                   
                   
                   
                   
                   
                  -
                  +
                   
                   
                     
                  -    

                  screen object

                  +

                  screen object

                  let screen: {
                     ...queries;
                     rerender(element: React.Element<unknown>): void;
                  diff --git a/docs/guides/community-resources.html b/docs/guides/community-resources.html
                  index bd2461e2..beea0d85 100644
                  --- a/docs/guides/community-resources.html
                  +++ b/docs/guides/community-resources.html
                  @@ -4,23 +4,23 @@
                   
                   Community resources - React Native Testing Library
                   
                  -
                  +
                   
                   
                   
                   
                  -
                  +
                   
                   
                   
                   
                   
                   
                  -
                  +
                   
                   
                     
                  -    

                  Community resources

                  +

                  Community resources

                  • The Testing Trophy and Testing Classifications by Kent C. Dodds (2021) - classic article explaining testing philosophy behind all Testing Library implementations.
                  • diff --git a/docs/guides/faq.html b/docs/guides/faq.html index 0f99b431..bfee0589 100644 --- a/docs/guides/faq.html +++ b/docs/guides/faq.html @@ -4,23 +4,23 @@ FAQ - React Native Testing Library - + - + - + -

                    FAQ

                    +

                    FAQ

                    Can I test the native features of React Native apps?

                    Short answer: no.

                    React Native Testing Library does not provide an entire React Native runtime since that would require running on a physical device diff --git a/docs/guides/how-to-query.html b/docs/guides/how-to-query.html index 9b45dc79..81fc4290 100644 --- a/docs/guides/how-to-query.html +++ b/docs/guides/how-to-query.html @@ -4,23 +4,23 @@ How should I query? - React Native Testing Library - + - + - + -

                    How should I query?

                    +

                    How should I query?

                    React Native Testing Library provides various query types, allowing great flexibility in finding views appropriate for your tests. At the same time, the number of queries might be confusing. This guide aims to help you pick the correct queries for your test scenarios.

                    Query parts

                    Each query is composed of two parts: variant and predicate, which are separated by the by word in the middle of the query.

                    diff --git a/docs/guides/react-19.html b/docs/guides/react-19.html index 06287968..d9ba5d00 100644 --- a/docs/guides/react-19.html +++ b/docs/guides/react-19.html @@ -4,23 +4,23 @@ React 19 & Suspense Support - React Native Testing Library - + - + - + -

                    React 19 & Suspense Support

                    +

                    React 19 & Suspense Support

                    React 19 introduced full support for React Suspense, React.use(), and other async rendering features to React Native 0.78.0.

                    When testing components that use these features, React requires the async act helper to handle async state updates. This means React Native Testing Library needs new async versions of its core APIs. These async APIs work with both React 18 and React 19.

                    New async APIs

                    diff --git a/docs/guides/troubleshooting.html b/docs/guides/troubleshooting.html index 39978cfa..498b4be3 100644 --- a/docs/guides/troubleshooting.html +++ b/docs/guides/troubleshooting.html @@ -4,23 +4,23 @@ Troubleshooting - React Native Testing Library - + - + - + -

                    Troubleshooting

                    +

                    Troubleshooting

                    This guide describes common issues found by users when integrating React Native Test Library to their projects:

                    Matching React Native, React & React Test Renderer versions

                    Check that you have matching versions of core dependencies:

                    diff --git a/docs/migration/jest-matchers.html b/docs/migration/jest-matchers.html index bd397a74..b94bc07d 100644 --- a/docs/migration/jest-matchers.html +++ b/docs/migration/jest-matchers.html @@ -4,23 +4,23 @@ Migration to built-in Jest matchers - React Native Testing Library - + - + - + -

                    Migration to built-in Jest matchers

                    +

                    Migration to built-in Jest matchers

                    This guide describes the steps necessary to migrate from legacy Jest Native matchers v5 to built-in Jest matchers.

                    General notes

                    All of the built-in Jest matchers provided by the React Native Testing Library support only host elements. This should not be an issue, as all RNTL v12 queries already return only host elements. When this guide states that a given matcher should work the same it assumes behavior only host elements. If you need to assert the status of composite elements use Jest Native matchers in legacy mode.

                    diff --git a/docs/migration/previous/v11.html b/docs/migration/previous/v11.html index 6b6962b1..3bb7c45b 100644 --- a/docs/migration/previous/v11.html +++ b/docs/migration/previous/v11.html @@ -4,23 +4,23 @@ Migration to 11.x - React Native Testing Library - + - + - + -

                    Migration to 11.x

                    +

                    Migration to 11.x

                    Migration to React Native Testing Library version 11 from version 9.x or 10.x should be a relatively easy task due small amount of breaking changes.

                    Breaking changes

                    Update to Jest 28 if you use fake timers

                    diff --git a/docs/migration/previous/v12.html b/docs/migration/previous/v12.html index 73116cd3..f1ee53c4 100644 --- a/docs/migration/previous/v12.html +++ b/docs/migration/previous/v12.html @@ -4,23 +4,23 @@ Migration to 12.x - React Native Testing Library - + - + - + -

                    Migration to 12.x

                    +

                    Migration to 12.x

                    Info

                    If you are already using legacy @testing-library/jest-native Jest Matchers, we have a migration guide for moving to the built-in matchers.

                    React Native Testing Library 12 introduces a handful of breaking changes compared to 11.x versions. We believe they were necessary to improve the experience using the library and help the users fall into the pit of success when writing meaningful tests. You will find migration instructions for each and every change described below.

                    Breaking changes

                    diff --git a/docs/migration/previous/v2.html b/docs/migration/previous/v2.html index af2bc847..67cf1a42 100644 --- a/docs/migration/previous/v2.html +++ b/docs/migration/previous/v2.html @@ -4,23 +4,23 @@ Migration to 2.x - React Native Testing Library - + - + - + -

                    Migration to 2.x

                    +

                    Migration to 2.x

                    This guide describes steps necessary to migrate from React Native Testing Library v1.x to v2.x.

                    Dropping Node 8

                    Node 8 reached its EOL more than 5 months ago, so it's about time to target the library to Node 10. If you used lower version, you'll have to upgrade to v10, but we recommend using the latest LTS version.

                    diff --git a/docs/migration/previous/v7.html b/docs/migration/previous/v7.html index 3fcad80b..3b411984 100644 --- a/docs/migration/previous/v7.html +++ b/docs/migration/previous/v7.html @@ -4,23 +4,23 @@ Migration to 7.x - React Native Testing Library - + - + - + -

                    Migration to 7.x

                    +

                    Migration to 7.x

                    Info

                    We renamed the react-native-testing-library npm package to @testing-library/react-native, officially joining the "Testing Library" family 🎉.

                    As the version 7.0 involves merging two libraries together, there are two variants for migration guide, dependent on library you used previously:

                    Guide for react-native-testing-library users

                    diff --git a/docs/migration/previous/v9.html b/docs/migration/previous/v9.html index 9847d4bf..1687d616 100644 --- a/docs/migration/previous/v9.html +++ b/docs/migration/previous/v9.html @@ -4,23 +4,23 @@ Migration to 9.x - React Native Testing Library - + - + - + -

                    Migration to 9.x

                    +

                    Migration to 9.x

                    Version 7.0 brought React Native Testing Library into the @testing-library family. Since it has been implemented independently from its web counterpart – the React Testing Library – there are some differences in the API and behavior. Version 9.0 solves several of these problems.

                    Support for text match options a.k.a string precision API

                    This is a backward compatible change.

                    diff --git a/docs/migration/v13.html b/docs/migration/v13.html index a07f8e31..61347f80 100644 --- a/docs/migration/v13.html +++ b/docs/migration/v13.html @@ -4,23 +4,23 @@ Migration to 13.x - React Native Testing Library - + - + - + -

                    Migration to 13.x

                    +

                    Migration to 13.x

                    This guide describes the migration to React Native Testing Library version 13 from version 12.x.

                    Overall, the v13 release is relatively small, focusing on removing deprecated queries and improving the developer experience.

                    Breaking changes

                    diff --git a/docs/start/intro.html b/docs/start/intro.html index c483e57d..3c70b715 100644 --- a/docs/start/intro.html +++ b/docs/start/intro.html @@ -4,23 +4,23 @@ Introduction - React Native Testing Library - + - + - + -

                    Introduction

                    +

                    Introduction

                    The problem

                    You want to write maintainable tests for your React Native components. As a part of this goal, you want your tests to avoid including implementation details of your components and focus on making your tests give you the confidence they are intended. As part of this, you want your tests to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down.

                    This solution

                    diff --git a/docs/start/quick-start.html b/docs/start/quick-start.html index 9190e163..802a9594 100644 --- a/docs/start/quick-start.html +++ b/docs/start/quick-start.html @@ -4,23 +4,23 @@ Quick Start - React Native Testing Library - + - + - + -

                    Quick Start

                    +

                    Quick Start

                    Installation

                    Open a Terminal in your project's folder and run:

                    yarn
                    npm
                    yarn add -D @testing-library/react-native
                    diff --git a/img/icon-check-double.svg b/img/icon-check-double.svg new file mode 100644 index 00000000..39fd6a02 --- /dev/null +++ b/img/icon-check-double.svg @@ -0,0 +1,3 @@ + + + diff --git a/img/icon-code.svg b/img/icon-code.svg new file mode 100644 index 00000000..84b89912 --- /dev/null +++ b/img/icon-code.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/img/icon-users.svg b/img/icon-users.svg new file mode 100644 index 00000000..5f9aefd0 --- /dev/null +++ b/img/icon-users.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/img/logo-dark.png b/img/logo-dark.png new file mode 100644 index 00000000..7937fe72 Binary files /dev/null and b/img/logo-dark.png differ diff --git a/img/logo-dark.svg b/img/logo-dark.svg new file mode 100644 index 00000000..92af095a --- /dev/null +++ b/img/logo-dark.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/logo-light.png b/img/logo-light.png new file mode 100644 index 00000000..37957ff7 Binary files /dev/null and b/img/logo-light.png differ diff --git a/img/logo-light.svg b/img/logo-light.svg new file mode 100644 index 00000000..91a33967 --- /dev/null +++ b/img/logo-light.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/index.html b/index.html index 7cb46a8f..98815bde 100644 --- a/index.html +++ b/index.html @@ -4,23 +4,23 @@ React Native Testing Library - + - + - + -

                    React Native Testing Library

                    Helps you to write better tests with less effort.
                    ✨

                    Maintainable

                    Write maintainable tests for your React Native apps.

                    ✅

                    Reliable

                    Promotes testing public APIs and avoiding implementation details.

                    ❤️

                    Community Driven

                    Supported by React Native community and its core contributors.

                    Need React or React Native +

                    JavaScript Integration testing for React Native

                    The more your tests resemble the way your software is used, the more confidence they can give you.
                    — Kent C. Dodds

                    Maintainable

                    Write maintainable tests for your React Native apps.

                    Reliable

                    Promotes testing public APIs and avoiding implementation details.

                    Community Driven

                    Supported by React Native community and its core contributors.

                    Need React or React Native expertise you can count on?

                    We've spent years building full-stack, cross-platform apps and solving tough technical challenges.

                    Copyright © 2026 Callstack Open Source
                    diff --git a/logo-light.png b/logo-light.png new file mode 100644 index 00000000..37957ff7 Binary files /dev/null and b/logo-light.png differ diff --git a/owl.png b/owl.png deleted file mode 100644 index 51740c36..00000000 Binary files a/owl.png and /dev/null differ diff --git a/static/css/styles.73041e5c.css b/static/css/styles.73041e5c.css new file mode 100644 index 00000000..d9a45fe6 --- /dev/null +++ b/static/css/styles.73041e5c.css @@ -0,0 +1 @@ +#nprogress{pointer-events:none}#nprogress .bar{z-index:1031;background:#29d;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{opacity:1;width:100px;height:100%;display:block;position:absolute;right:0;transform:rotate(3deg)translateY(-4px);box-shadow:0 0 10px #29d,0 0 5px #29d}#nprogress .spinner{z-index:1031;display:block;position:fixed;top:15px;right:15px}#nprogress .spinner-icon{box-sizing:border-box;border:2px solid #0000;border-color:#29d #0000 #0000 #29d;border-radius:50%;width:18px;height:18px;animation:.4s linear infinite nprogress-spinner}.nprogress-custom-parent{position:relative;overflow:hidden}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:where(:root){--rp-c-brand:#0095ff;--rp-c-brand-light:#33adff;--rp-c-brand-lighter:#c6e0fd;--rp-c-brand-dark:#07f;--rp-c-brand-darker:#005fcc;--rp-c-brand-tint:#7fa3ff29}:where(html:not(.rp-dark)){--shiki-foreground:inherit;--shiki-background:transparent;--shiki-token-constant:#1976d2;--shiki-token-string:#31a94d;--shiki-token-comment:#b6b4b4;--shiki-token-keyword:#cf2727;--shiki-token-parameter:#f59403;--shiki-token-function:#7041c8;--shiki-token-string-expression:#218438;--shiki-token-punctuation:#242323;--shiki-token-link:#22863a;--shiki-token-deleted:#d32828;--shiki-token-inserted:#22863a}:where(html.rp-dark){--shiki-foreground:inherit;--shiki-background:transparent;--shiki-token-constant:#6fb0fa;--shiki-token-string:#f9a86e;--shiki-token-comment:#6a727b;--shiki-token-keyword:#f47481;--shiki-token-parameter:#ff9800;--shiki-token-function:#ae8eeb;--shiki-token-string-expression:#4fb74d;--shiki-token-punctuation:#bbb;--shiki-token-link:#f9a76d;--shiki-token-deleted:#ee6d7a;--shiki-token-inserted:#36c47f}:where(html:not(.rp-dark)){--rp-code-font-size:.875rem;--rp-code-title-bg:#f8f8f9;--rp-code-block-color:#2e3440;--rp-code-block-bg:var(--rp-c-bg);--rp-code-block-border:1px solid var(--rp-c-divider-light);--rp-code-block-shadow:none}:where(html.rp-dark){--rp-code-font-size:.875rem;--rp-code-title-bg:#191919;--rp-code-block-color:#e5e7eb;--rp-code-block-bg:var(--rp-c-bg);--rp-code-block-border:1px solid var(--rp-c-divider-light);--rp-code-block-shadow:none}:where(html:not(.rp-dark)){--rp-home-hero-secondary-color:#a673ff;--rp-home-hero-title-color:transparent;--rp-home-hero-title-bg:linear-gradient(90deg,var(--rp-c-brand-dark)0%,var(--rp-c-brand-dark)30%,var(--rp-home-hero-secondary-color)100%);--rp-home-background-bg:radial-gradient(42.12% 56.13% at 100% 0%,#537dff1a 0%,#fff0 100%),radial-gradient(42.01% 79.63% at 52.86% 0%,#537dff33 0%,#fff0 100%),radial-gradient(79.67% 58.09% at 0% 0%,#7e69ff33 0%,#fff0 100%),#fff;--rp-home-feature-bg:linear-gradient(135deg,#fff,#f9f9f980)}:where(html.rp-dark){--rp-home-hero-secondary-color:#a673ff;--rp-home-hero-title-color:transparent;--rp-home-hero-title-bg:linear-gradient(90deg,var(--rp-c-brand-dark)0%,var(--rp-c-brand-dark)30%,var(--rp-home-hero-secondary-color)100%);--rp-home-background-bg:radial-gradient(42.12% 56.13% at 100% 0%,#0c1d48 0%,#12121200 100%),radial-gradient(55.81% 87.78% at 48.37% 0%,#000 0%,#12121200 89.55%),radial-gradient(122.65% 88.24% at 0% 0%,#34268a 0%,#12121200 100%),#121212;--rp-home-feature-bg:linear-gradient(135deg,#fff0,#ffffff08)}:where(html:not(.rp-dark)){--rp-c-bg:#fff;--rp-c-bg-soft:#f8f8f9;--rp-c-bg-mute:#f1f1f1;--rp-c-bg-alt:#fff;--rp-c-divider:#00000040;--rp-c-divider-light:#0000001f;--rp-c-text-0:#000;--rp-c-text-1:#242424;--rp-c-text-2:#000000b3;--rp-c-text-3:#3c3c3c54;--rp-c-text-4:#3c3c3c2e;--rp-c-text-code:#476582;--rp-c-text-code-bg:#99a1b314;--rp-c-text-code-border:#0000000d;--rp-c-link:var(--rp-c-brand-dark)}:where(html.rp-dark){--rp-c-bg:#121212;--rp-c-bg-soft:#292e37;--rp-c-bg-mute:#343a46;--rp-c-bg-alt:#000;--rp-c-divider:#545454a6;--rp-c-divider-light:#5454547a;--rp-c-text-0:#fff;--rp-c-text-1:#fffff5ed;--rp-c-text-2:#fffff5a6;--rp-c-text-3:#ebebeb61;--rp-c-text-4:#ebebeb2e;--rp-c-text-code:#c9def1;--rp-c-text-code-bg:#ffffff14;--rp-c-text-code-border:#ffffff0d;--rp-c-link:var(--rp-c-brand-light)}:where(:root){--rp-c-gray:#8e8e8e;--rp-c-gray-light-1:#aeaeae;--rp-c-gray-light-2:#c7c7c7;--rp-c-gray-light-3:#d1d1d1;--rp-c-gray-light-4:#e5e5e5;--rp-c-gray-light-5:#f2f2f2;--rp-shadow-1:0 1px 2px #00000005,0 1px 0 #0000000f;--rp-shadow-2:0 3px 12px #0000000f,0 1px 4px #00000012;--rp-shadow-3:0 12px 32px #0000001a,0 2px 6px #00000014;--rp-shadow-4:0 14px 44px #0000001f,0 3px 9px #0000001f;--rp-shadow-5:0 18px 56px #00000029,0 4px 12px #00000029;--rp-radius:1rem;--rp-radius-small:.5rem;--rp-radius-large:1.5rem}@layer rp-base{*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-size:1em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}button:focus{outline:none}button:focus-visible{outline:none}}html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--rp-banner-height,0px) + var(--rp-nav-height) + var(--rp-sidebar-menu-height));font-size:16px;line-height:1.7}html.dark{--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{width:100%;min-width:320px;font-family:var(--rp-font-family-base);color:var(--rp-c-text-1);background-color:var(--rp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:ltr;margin:0;font-size:16px;font-weight:400}:root{--rp-font-family-base:"Inter var experimental","Inter var",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--rp-font-family-mono:Menlo,Monaco,Consolas,"Courier New",monospace;text-autospace:normal}:root #nprogress .bar{background:var(--rp-c-brand)}.rp-scrollbar{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#0000000d #0000}.rp-scrollbar::-webkit-scrollbar{width:4px;height:4px}.rp-scrollbar::-webkit-scrollbar-track{background:0 0}.rp-scrollbar::-webkit-scrollbar-thumb{background:#0000000d;border-radius:4px;transition:background .2s}.rp-scrollbar::-webkit-scrollbar-thumb:hover{background:#0000001a}.rp-scrollbar::-webkit-scrollbar-corner{background:0 0}.rp-dark .rp-scrollbar{scrollbar-color:#ffffff1a #0000}.rp-dark .rp-scrollbar::-webkit-scrollbar-thumb{background:#ffffff1a}.rp-dark .rp-scrollbar::-webkit-scrollbar-thumb:hover{background:#fff3}.rp-scrollbar--always{scrollbar-gutter:stable;scrollbar-width:unset;scrollbar-color:unset}.shiki span.line{padding:0 1.25rem;display:inline-block}.code-line-highlighted{background-color:var(--rp-code-line-highlight-color)}.diff,.code-line-highlighted{width:100%;padding:0 20px;transition:background-color .5s;display:inline-block;position:relative}.diff.add:after{content:"+";color:#4fb74d;position:absolute;top:0;left:10px}.diff.remove:after{content:"-";color:#f47481;position:absolute;top:0;left:10px}.shiki.has-diff code .diff.add{background-color:#10b9811a;padding:0 20px 0 19px}.shiki.has-diff code .diff.remove{background-color:#f43f5e1a;padding:0 20px 0 19px}.shiki.has-highlighted .line.highlighted{width:100%;display:inline-block;position:static}.shiki.has-highlighted .line.highlighted:not(.error):not(.warning){background-color:#3b82f61a;box-shadow:inset 2px 0 #3b82f6}.shiki.has-highlighted .line.highlighted.error{background-color:#ed3c501a;box-shadow:inset 2px 0 #ed3c50}.shiki.has-highlighted .line.highlighted.warning{background-color:#ffc5171a;box-shadow:inset 2px 0 #ffc517}.shiki.has-focused .line:not(.focused){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.shiki.has-focused:hover .line:not(.focused){filter:blur();opacity:1}.pre-release-banner{background:linear-gradient(90deg,var(--rp-c-brand-darker)0%,var(--rp-c-brand)100%);color:#fff;text-align:center;padding:.5rem 1rem;font-size:.875rem}.pre-release-banner strong{font-weight:600}.old-version-banner{background:linear-gradient(90deg,var(--rp-c-brand-darker)0%,var(--rp-c-brand)100%);color:#fff;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem .5rem;padding:.5rem 1rem;font-size:.875rem;display:flex}.old-version-banner strong{font-weight:600}.old-version-banner-link{white-space:nowrap;text-underline-offset:2px;font-weight:500;text-decoration:underline;color:#fff!important}.old-version-banner-link:hover{opacity:.85;color:#fff!important}:root{--rp-nav-height:60px!important;--rp-sidebar-width:320px!important;--rp-aside-width:268px!important;--rp-c-bg:#fff!important;--rp-c-bg-soft:#f6f6f7!important;--rp-c-bg-mute:#ececec!important;--rp-c-divider:#3c3c3c4a!important;--rp-c-divider-light:#3c3c3c1f!important;--rp-c-text-1:#323232!important;--rp-c-text-2:#323232cc!important;--rp-c-text-3:#32323299!important;--rp-c-text-4:#32323266!important;--rp-c-text-code:var(--rp-c-brand-dark)!important;--rp-c-brand:#9b6dff!important;--rp-c-brand-light:#b89dff!important;--rp-c-brand-lighter:#d4c8ff!important;--rp-c-brand-dark:#7f58cc!important;--rp-c-brand-darker:#604399!important;--rp-c-brand-tint:#9b6dff1a!important;--rp-c-gray:#8e8e8e!important;--rp-c-gray-light-1:#aeaeae!important;--rp-c-gray-light-2:#c7c7c7!important;--rp-c-gray-light-3:#d1d1d1!important;--rp-c-gray-light-4:#e5e5e5!important;--rp-c-gray-light-5:#f2f2f2!important;--rp-c-dark:#000!important;--rp-c-dark-light-1:#2f2f2f!important;--rp-c-dark-light-2:#3a3a3a!important;--rp-c-dark-light-3:#4a4a4a!important;--rp-c-dark-light-4:#5c5c5c!important;--rp-c-dark-light-5:#6b6b6b!important;--rp-radius:1rem!important;--rp-radius-small:.5rem!important;--rp-radius-large:1.5rem!important}.dark{--rp-c-bg:#161618!important;--rp-c-bg-soft:#1b1b1f!important;--rp-c-bg-mute:#65758529!important;--rp-c-divider-light:#65758529!important;--rp-c-text-1:#dde1e6!important;--rp-c-text-2:#b2b8bf!important;--rp-c-text-3:#878c92!important;--rp-c-text-4:#5c6166!important;--rp-c-text-code:var(--rp-c-brand-light)!important}:root,.dark{--rp-code-block-bg:var(--rp-c-bg-soft);--rp-code-title-bg:var(--rp-c-bg-mute)}:root{--rp-container-details-border:gray!important;--rp-container-details-text:#666!important;--rp-container-details-bg:#8080801a!important;--rp-container-details-code-bg:#80808026!important;--rp-container-info-border:var(--rp-c-brand)!important;--rp-container-info-text:var(--rp-c-brand-dark)!important;--rp-container-info-bg:#9b6dff1a!important;--rp-container-info-code-bg:#9b6dff26!important;--rp-container-warning-border:#ffc517!important;--rp-container-warning-text:#ad850e!important;--rp-container-warning-bg:#ffc5171a!important;--rp-container-warning-code-bg:#ffc51726!important;--rp-container-danger-border:#ed3c50!important;--rp-container-danger-text:#ab2131!important;--rp-container-danger-bg:#ed3c501a!important;--rp-container-danger-code-bg:#ed3c5026!important}.dark{--rp-container-details-text:var(--rp-text-1)!important;--rp-container-info-text:var(--rp-text-1)!important;--rp-container-warning-text:var(--rp-text-1)!important;--rp-container-danger-text:var(--rp-text-1)!important}:root{--rp-home-feature-bg:var(--rp-c-bg-soft)!important;--rp-home-feature-hover-bg:var(--rp-c-bg-mute)!important}.dark{--rp-home-feature-bg:var(--rp-c-bg-mute)!important;--rp-home-feature-hover-bg:var(--rp-c-bg-soft)!important}.rspress-nav{background-color:var(--rp-c-bg-soft)!important;border-bottom:1px solid var(--rp-c-divider-light)!important}.rspress-sidebar-group:before{content:none}.rspress-sidebar-group>div>a>div{padding-top:.3rem;padding-bottom:.3rem;background-color:#0000!important;font-size:14px!important}.rspress-sidebar-group>div>a>div:hover{color:var(--rp-c-brand)!important}.rspress-sidebar-group>div>a>div:before{content:none}.rspress-sidebar-group>div>section>div{background-color:#0000!important}.rspress-sidebar-group>div>section>div>h2{font-size:14px!important}.rspress-sidebar-group>div>section>div:hover{color:var(--rp-c-brand)!important}.rspress-sidebar{border-right:1px solid var(--rp-c-divider-light)!important;margin-right:12px!important}.rspress-sidebar>div{padding-right:0!important}.rspress-scrollbar>nav>section>div:first-child{background-color:#0000!important}.rspress-scrollbar>nav>section>div:first-child:hover{color:var(--rp-c-brand)!important}.rspress-scrollbar>nav>a>div:first-child{background-color:#0000!important}.rspress-scrollbar>nav>a>div:first-child:before{content:none}.rspress-scrollbar>nav>a>div:first-child:hover{color:var(--rp-c-brand)!important}.rspress-sidebar-section-header>span{font-weight:700;font-size:15px!important}#aside-container{padding-left:1rem;border-left:1px solid var(--rp-c-divider-light)!important}.home-hero-name-img{margin:1.5rem auto}div:has(>p.rspress-home-hero-text){align-items:stretch}a:has(>span.home-hero-primary-action){background:var(--rp-c-brand)!important}:not([id=search-container])>div[class^=mask]{background-image:conic-gradient(from 180deg at 50% 50%,var(--rp-c-brand)0deg,180deg,var(--rp-c-brand-darker)1turn);display:block!important}p.rspress-home-hero-text{font-size:1.35rem}@media (min-width:370px){p.rspress-home-hero-text{font-size:1.5rem}}@media (min-width:640px){p.rspress-home-hero-text{font-size:2rem}}@media (min-width:768px){p.rspress-home-hero-text{font-size:3rem}}[class*=heroImage-],.rp-home-hero__image-img{width:auto!important;height:24px!important;margin-left:0!important;margin-right:auto!important}.rp-home-hero__image-img--dark{display:none}.rp-home-hero__image-img--light,.dark .rp-home-hero__image-img--dark{display:block}.dark .rp-home-hero__image-img--light{display:none}[class*=featureIcon-]{font-size:1.5rem!important;line-height:1!important}@media (min-width:640px){[class*=featureIcon-]{font-size:1.75rem!important}}@media (min-width:768px){[class*=featureIcon-]{font-size:2rem!important}}@font-face{font-family:Fira Code;font-style:normal;font-weight:400;font-display:block;src:url(/react-native-testing-library/static/font/FiraCode-Regular.0977d761.ttf)format("truetype")}@font-face{font-family:Fira Code;font-style:normal;font-weight:500;font-display:block;src:url(/react-native-testing-library/static/font/FiraCode-Medium.ce4b9190.ttf)format("truetype")}@font-face{font-family:"Alliance No. 2";font-style:normal;font-weight:400;font-display:swap;src:url(https://assets.callstack.com/alliance-no-2-regular.woff2)format("woff2")}@font-face{font-family:"Alliance No. 2";font-style:normal;font-weight:500;font-display:swap;src:url(https://assets.callstack.com/alliance-no-2-medium.woff2)format("woff2")}:root{--ck-header-font-family:"Alliance No. 2",Arial,sans-serif;--ck-background-primary:#fff;--ck-border-primary:#cfced5;--ck-border-secondary:#e9e7ee;--ck-foreground-primary:#f9f8fd;--ck-foreground-secondary:#e9e7ee;--ck-text-primary:#201f24;--ck-text-secondary:#838289;--ck-text-tertiary:#bcbbc2;--ck-accent:#8232ff;--ck-accent-bg:#8232ff29;--ck-warning:#ffb14c;--ck-warning-bg:#ffb14c29;--ck-danger:#fa7171;--ck-danger-bg:#fa717129;--ck-success:#2fc717;--ck-success-bg:#2fc71729;--ck-note:#838289;--ck-note-bg:#83828929;--ck-neutral-darkest:#201f24}.dark{--ck-background-primary:#201f24;--ck-border-primary:#424145;--ck-border-secondary:#636266;--ck-foreground-primary:#2b2a2f;--ck-foreground-secondary:#838289;--ck-text-primary:#fff;--ck-text-secondary:#cfced5;--ck-accent-code-highlight:#8232ff33}:root{--ck-bg-radial-1:radial-gradient(ellipse calc(5*100vw)100vw at 100% 0%,#8232ff80 0%,transparent 30%,transparent 100%);--ck-bg-radial-2:radial-gradient(ellipse calc(5*100vw)100vw at 100% 100%,#8232ff80 0%,transparent 15%,transparent 100%);--ck-bg-radial-3:radial-gradient(ellipse 100vw 50vw at 0% 100%,#8232ff80 0%,transparent 15%,transparent 100%);--rp-home-background-bg:var(--ck-bg-radial-1),var(--ck-bg-radial-2),var(--ck-bg-radial-3);--rp-content-padding-x:24px;--rp-content-padding-y:64px;--rp-font-family-base:"Switzer Variable",Arial,sans-serif!important;--rp-font-family-mono:"Fira Code",monospace!important;--rp-font-family:"Switzer Variable",Arial,sans-serif!important;--rp-nav-height:48px!important;--rp-sidebar-menu-height:46px!important;--rp-radius:4px!important;--rp-radius-small:2px!important;--rp-radius-large:8px!important;--rp-sidebar-width:296px!important}@media (max-width:768px){html:root{--rp-nav-height:48px!important}}@media (min-width:1280px){html:root{--rp-sidebar-menu-height:0px!important}}:root{--rp-c-bg:var(--ck-background-primary)!important;--rp-c-bg-soft:var(--ck-foreground-secondary)!important;--rp-c-bg-mute:var(--ck-foreground-primary)!important;--rp-c-divider:var(--ck-border-primary)!important;--rp-c-divider-light:var(--ck-border-secondary)!important;--rp-c-text-1:var(--ck-text-primary)!important;--rp-c-text-2:var(--ck-text-secondary)!important;--rp-c-text-3:var(--ck-text-tertiary)!important;--rp-c-text-4:var(--ck-text-tertiary)!important;--rp-c-text-code:var(--rp-c-text-1)!important;--rp-c-brand:var(--ck-accent)!important;--rp-c-brand-light:var(--ck-accent)!important;--rp-c-brand-lighter:var(--ck-accent)!important;--rp-c-brand-dark:var(--ck-accent)!important;--rp-c-brand-darker:var(--ck-accent)!important;--rp-c-brand-tint:var(--ck-accent)!important;--rp-c-gray:var(--ck-text-secondary)!important;--rp-c-gray-light-1:var(--ck-text-tertiary)!important;--rp-c-gray-light-2:var(--ck-foreground-secondary)!important;--rp-c-gray-light-3:var(--ck-foreground-secondary)!important;--rp-c-gray-light-4:var(--ck-foreground-secondary)!important;--rp-c-gray-light-5:var(--ck-foreground-secondary)!important;--rp-c-dark:var(--ck-neutral-darkest)!important;--rp-c-dark-light-1:var(--ck-neutral-darkest)!important;--rp-c-dark-light-2:var(--ck-neutral-darkest)!important;--rp-c-dark-light-3:var(--ck-neutral-darkest)!important;--rp-c-dark-light-4:var(--ck-neutral-darkest)!important;--rp-c-dark-light-5:var(--ck-neutral-darkest)!important;--rp-code-title-bg:#e9e7ee!important;--rp-code-block-bg:#f9f8fd!important;--rp-c-text-code-bg:var(--ck-border-secondary)!important;--rp-c-link:var(--rp-c-text-1)!important;--rp-container-tip-border:var(--ck-success)!important;--rp-container-tip-text:var(--rp-c-text-1)!important;--rp-container-tip-bg:var(--ck-success-bg)!important;--rp-container-tip-code-bg:var(--rp-code-block-bg)!important;--rp-container-info-border:var(--ck-accent)!important;--rp-container-info-text:var(--rp-c-text-1)!important;--rp-container-info-bg:var(--ck-accent-bg)!important;--rp-container-info-code-bg:var(--rp-code-block-bg)!important;--rp-container-warning-border:var(--ck-warning)!important;--rp-container-warning-text:var(--rp-c-text-1)!important;--rp-container-warning-bg:var(--ck-warning-bg)!important;--rp-container-warning-code-bg:var(--rp-code-block-bg)!important;--rp-container-danger-border:var(--ck-danger)!important;--rp-container-danger-text:var(--rp-c-text-1)!important;--rp-container-danger-bg:var(--ck-danger-bg)!important;--rp-container-danger-code-bg:var(--rp-code-block-bg)!important;--rp-container-note-border:var(--ck-note)!important;--rp-container-note-text:var(--rp-c-text-1)!important;--rp-container-note-bg:var(--ck-note-bg)!important;--rp-container-note-code-bg:var(--rp-code-block-bg)!important;--rp-container-details-border:var(--ck-note)!important;--rp-container-details-text:var(--rp-c-text-1)!important;--rp-container-details-bg:var(--ck-note-bg)!important;--rp-container-details-code-bg:var(--rp-code-block-bg)!important}.dark{--rp-c-bg-soft:var(--ck-foreground-primary)!important;--rp-c-bg-mute:var(--ck-foreground-secondary)!important;--rp-c-divider:var(--ck-border-secondary)!important;--rp-c-divider-light:var(--ck-border-primary)!important;--rp-code-title-bg:#363539!important;--rp-code-block-bg:#2b2a2f!important;--rp-c-text-code-bg:var(--ck-border-primary)!important}body{background:var(--rp-c-bg)!important;color:var(--rp-c-text-1)!important;font-family:var(--rp-font-family)!important}body *{letter-spacing:-.02em!important;line-height:1.5!important}code,kbd,samp,pre{font-family:var(--rp-font-family-mono)!important;font-style:normal!important;font-weight:500!important;line-height:1.5!important}h1,h2,h3,h4,h5,h6{font-family:var(--ck-header-font-family)!important;font-variant-numeric:lining-nums tabular-nums!important;font-feature-settings:"ss04" on!important;letter-spacing:-.04em!important;font-style:normal!important;font-weight:500!important;line-height:1.2!important}h1>code,h2>code,h3>code,h4>code,h5>code,h6>code{background-color:unset!important;padding:unset!important;font-family:unset!important}.rp-nav{color:var(--rp-c-text-1)!important}.rp-doc-layout__sidebar{scrollbar-width:thin;padding-left:0!important;padding-right:0!important}.rp-sidebar-item,.rp-sidebar-item--active{color:var(--rp-c-text-2);font-weight:400;line-height:1.5;border-radius:0!important;margin-top:0!important;padding-top:4px!important;padding-bottom:4px!important;font-size:14px!important}.rp-sidebar-item:hover{background-color:var(--ck-foreground-primary)!important}.rp-sidebar-item--active{color:var(--rp-c-brand)!important;font-weight:400!important}.rp-sidebar-section-header__left>span{text-transform:uppercase;color:var(--rp-c-text-3)!important;font-family:var(--rp-font-family-mono)!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important}.rp-sidebar-section-header__left>span:before{content:"//";text-transform:uppercase;margin-right:6px;color:var(--rp-c-brand)!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important}.rp-sidebar-item--active{background-color:#0000!important}.rp-sidebar-divider{border-color:#0000!important}.rp-sidebar-divider--dashed{display:none!important}img#logo{max-height:16px}.rp-search-button{border-radius:var(--rp-radius-small)!important;border:1px solid var(--rp-c-divider-light)!important;background-color:var(--rp-c-bg)!important;height:30px!important;padding:4px!important;transition:none!important}.rp-search-button button>div{background-color:var(--rp-c-divider-light)!important}.rspress-nav-appearance>div.rp-border{transition:background .15s;border-radius:var(--rp-radius-small)!important;cursor:pointer!important;border:none!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;padding:4px!important;display:flex!important}.rp-social-links,.rp-nav__others{gap:16px!important}.rp-social-links__icon>div{transition:background .15s;background:var(--rp-c-divider-light)!important;border-radius:var(--rp-radius-small)!important;cursor:pointer!important;border:none!important;width:26px!important;height:26px!important;margin:-6px!important;padding:6px!important}.rp-nav-menu,.rp-nav__right{gap:16px!important}.rp-nav-menu-item:hover,.rp-nav-menu-item--active{color:var(--rp-c-brand)!important}.rp-nav-screen-menu-item--active{background-color:#0000!important}.rp-nav-screen-menu-item.rp-link[target=_blank] .rp-nav-screen-menu-item__left:after,.rp-nav-menu a[target=_blank]:after{content:none!important}button.rp-nav-hamburger>img{width:20px;height:20px}.rp-nav-hamburger:hover,.rp-nav-hamburger--active{background:0 0!important}div.rspress-nav-appearance>div,.rp-social-links__icon>div{color:var(--rp-c-text-1)!important;background:linear-gradient(to right,var(--rp-c-brand)50%,var(--rp-c-divider-light)50%)right bottom/200% 100%!important;transition:background-position .45s cubic-bezier(.625,.05,0,1),color .45s cubic-bezier(.625,.05,0,1),transform .45s cubic-bezier(.625,.05,0,1)!important}@media (pointer:fine){div.rspress-nav-appearance>div:hover,.rp-social-links__icon>div:hover{color:#fff!important;background-position:0 100%!important}}.rp-sidebar-menu{margin-left:-6px!important}.rp-sidebar-menu__left>img{display:none!important}.rp-sidebar-menu__left:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4SDRWMTZIMjBWMThaTTIwIDEzSDRWMTFIMjBWMTNaTTIwIDhINFY2SDIwVjhaIiBmaWxsPSIjODM4Mjg5Ii8+Cjwvc3ZnPgo=);background-position:50%;background-repeat:no-repeat;background-size:contain;width:16px;height:16px}.rp-sidebar-menu__left,.rp-sidebar-menu__right{color:var(--rp-c-text-1)!important;font-weight:500!important;line-height:1.5!important}.rp-nav__title>a>span{font-weight:500!important}:root{--rp-prev-next-page-gap:12px}.rp-prev-next-page{gap:var(--rp-prev-next-page-gap)}@media (max-width:480px){.rp-prev-next-page{flex-direction:column}}.rp-prev-next-page__item{border:1px solid var(--rp-c-divider-light);align-self:stretch;width:100%;position:relative;border-radius:var(--rp-radius-small)!important;justify-content:flex-start!important}.rp-prev-next-page__item:hover{background-color:initial!important;opacity:initial!important}.rp-prev-next-page__icon{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjAgMjBIMThWNEgyMFYyMFpNMTIgMTVWMTdIMTBWMTVIMTJaTTE0IDExSDE2VjEzSDE0VjE1SDEyVjEzSDRWMTFIMTJWOUgxNFYxMVpNMTIgOUgxMFY3SDEyVjlaIiBmaWxsPSJjdXJyZW50Q29sb3IiLz4KPC9zdmc+Cg==);background-color:var(--rp-c-divider-light);border-radius:var(--rp-radius-small);box-sizing:content-box;width:16px;height:16px;padding:12px}.rp-prev-next-page__item__desc{top:10px;left:var(--rp-prev-next-page-gap);position:absolute}.rp-prev-next-page__next .rp-prev-next-page__item__desc{padding-left:0}.rp-prev-next-page__prev .rp-prev-next-page__item__desc{padding-left:calc(40px + var(--rp-prev-next-page-gap))}.rp-prev-next-page__prev .rp-prev-next-page__item__title{justify-content:flex-start}.rp-prev-next-page__item__title{justify-content:space-between;width:100%;gap:var(--rp-prev-next-page-gap)!important;align-items:flex-start!important}.rp-prev-next-page__item__title>span{padding-top:var(--rp-prev-next-page-gap)}footer{border:none!important;bottom:30px!important}.rp-home-background{right:0;-webkit-mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;filter:unset!important}div#__rspress_root>.rp-home-background{bottom:0!important}@media (any-pointer:fine){div#__rspress_root>.rp-home-background:before{content:"";z-index:-100;background-image:url(/react-native-testing-library/static/svg/hero-bg-shape.24d8912f.svg);background-repeat:no-repeat,no-repeat;background-size:contain,contain;background-position:center var(--rp-nav-height),center center;position:absolute;top:0;bottom:0;left:0;right:0}div#__rspress_root>.rp-home-background:after{content:"";z-index:-100;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnN2Z2pzPSJodHRwOi8vc3ZnanMuZGV2L3N2Z2pzIiB2aWV3Qm94PSIwIDAgNzAwIDcwMCIgd2lkdGg9IjcwMCIgaGVpZ2h0PSI3MDAiIG9wYWNpdHk9IjEiPjxkZWZzPjxmaWx0ZXIgaWQ9Im5ubm9pc2UtZmlsdGVyIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMTQwJSIgaGVpZ2h0PSIxNDAlIiBmaWx0ZXJVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHByaW1pdGl2ZVVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJsaW5lYXJSR0IiPgoJPGZlVHVyYnVsZW5jZSB0eXBlPSJ0dXJidWxlbmNlIiBiYXNlRnJlcXVlbmN5PSIwLjIiIG51bU9jdGF2ZXM9IjQiIHNlZWQ9IjE1IiBzdGl0Y2hUaWxlcz0ic3RpdGNoIiB4PSIwJSIgeT0iMCUiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHJlc3VsdD0idHVyYnVsZW5jZSI+PC9mZVR1cmJ1bGVuY2U+Cgk8ZmVTcGVjdWxhckxpZ2h0aW5nIHN1cmZhY2VTY2FsZT0iMSIgc3BlY3VsYXJDb25zdGFudD0iMi40IiBzcGVjdWxhckV4cG9uZW50PSIyMCIgbGlnaHRpbmctY29sb3I9IiM4ODg4ODgiIHg9IjAlIiB5PSIwJSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgaW49InR1cmJ1bGVuY2UiIHJlc3VsdD0ic3BlY3VsYXJMaWdodGluZyI+CiAgICAJCTxmZURpc3RhbnRMaWdodCBhemltdXRoPSIzIiBlbGV2YXRpb249IjgzIj48L2ZlRGlzdGFudExpZ2h0PgogIAk8L2ZlU3BlY3VsYXJMaWdodGluZz4KICAKPC9maWx0ZXI+PC9kZWZzPjxyZWN0IHdpZHRoPSI3MDAiIGhlaWdodD0iNzAwIiBmaWxsPSJ0cmFuc3BhcmVudCI+PC9yZWN0PjxyZWN0IHdpZHRoPSI3MDAiIGhlaWdodD0iNzAwIiBmaWxsPSIjODg4ODg4IiBmaWx0ZXI9InVybCgjbm5ub2lzZS1maWx0ZXIpIj48L3JlY3Q+PC9zdmc+);background-repeat:repeat;background-size:cover;background-position:center var(--rp-nav-height),center center;position:absolute;top:0;bottom:0;left:0;right:0;-webkit-mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dark div#__rspress_root>.rp-home-background:after{opacity:.1}div#__rspress_root:not(:has(div[class^=rp-doc])){background-image:url(/react-native-testing-library/static/image/footer.23946cc8.webp);background-position:bottom;background-repeat:no-repeat;background-size:contain;padding-bottom:12vw;position:relative}.dark div#__rspress_root:not(:has(div[class^=rp-doc])){background-image:url(/react-native-testing-library/static/image/footer-dark.f77eb089.png)}div#__rspress_root:not(:has(div[class^=rp-doc])):after{content:"";aspect-ratio:1440/286;opacity:.3;pointer-events:none;object-fit:contain;background-image:url(/react-native-testing-library/static/svg/callstack.7a309d39.svg);background-position:50% calc(100% + 12px),bottom,bottom,bottom;background-repeat:no-repeat,repeat,no-repeat,no-repeat;background-size:min(90rem,95%),auto,contain,contain;width:100%;height:auto;position:absolute;top:auto;bottom:-2px;left:0%;right:0%}footer{bottom:180px!important}}.rp-doc-layout__overview{padding-top:var(--rp-content-padding-y)!important}.rp-doc-layout__overview>div>h2:before{content:none!important}.rp-doc-layout__overview>div>h2.rp-toc-include{display:none!important}.rp-overview__empty{color:var(--rp-c-text-1)!important;font-family:var(--rp-font-family)!important;background-color:#0000!important;font-size:16px!important;font-weight:400!important}.rp-overview-search{gap:0!important}.rp-overview-group{margin-top:8px!important}.rp-overview-group__item{transition:border-color .3s cubic-bezier(.65,.05,.36,1);position:relative;border:1px dashed var(--ck-border-primary)!important;border-radius:var(--rp-radius-small)!important}.rp-overview-group__item__title,.rp-overview-group__item__title:hover{border-bottom:1px dashed var(--ck-border-primary)!important;background-color:#0000!important;font-weight:500!important}@media (min-width:1281px){.rp-overview-group__item__title,.rp-overview-group__item__title:hover{border-bottom:none!important;border-right:1px dashed var(--ck-border-primary)!important}}.rp-overview-group__item__title>svg{display:none!important}.rp-overview-group__item__title:before{content:"";z-index:-1;background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAZhtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAANGlsb2MAAAAAREAAAgACAAAAAAG8AAEAAAAAAAAAIQABAAAAAAHdAAEAAAAAAAABvgAAADhpaW5mAAAAAAACAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAFWluZmUCAAAAAAIAAGF2MDEAAAAA12lwcnAAAACxaXBjbwAAABNjb2xybmNseAACAAIABoAAAAAMYXYxQ4EEHAAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAAA5waXhpAAAAAAEIAAAAOGF1eEMAAAAAdXJuOm1wZWc6bXBlZ0I6Y2ljcDpzeXN0ZW1zOmF1eGlsaWFyeTphbHBoYQAAAAAMYXYxQ4EkAgAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAABBwaXhpAAAAAAMICAgAAAAeaXBtYQAAAAAAAAACAAEEgYYHiAACBIIDhIUAAAAaaXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAedtZGF0EgAKBxkmaPufhUAyFBIAAABQEnFcCJBhnz/FpaY9OM+oEgAKBzkmaPufgkAysAMSAABBBAFAdwo2pzAtvYEyy/3PwE6f/vhzVuvHj7ra1LLUFgC3vJssr6tiT5FH714XOhDxguZprICt+RLk/AUcLUmu2v7BwLvj/Q/RZRV2gEwa1WNxCssp8DrxwihYCKLptu67qiUdOZR3JH2buMN14AZM0OnnVtEx2EprBbbRRRDdV7ELBX2x7Qn4nh5+aNHZqUE8COGF9GQqEwFmEFwJB76xdUrJ+nhdMSh7MLB0rwyXXDowC5IXFdjL2x4TbTvDrBRx0GmM+Uo0/DzYbiQjN44XpA2TwpEk1q4Rkko8Dp5z2mXIznhPu5kPZz4iCiZO0fsIIEfIAwFsprHlFbettt5CeoXnBr5t3fnn5remeymreTzShDWbm/krXjkhrRKqvQsbhW86//r+7zF/6mMuTWtbFv7uE+Xr4wQvCk4CzjAkPzEuiUj1Ju83O7fBi2GjyKv007HKqJYnOZDybTOI+K0WBp8egtvkuoIbuhRutNAwD+Pw+Yt95zQOaBSux1gRse7Gsqr583Qscbfn0LLj6iIcCddWI0bgu1W8lW62eQC/aPfPY1HY5I4Fq9YY8kA=);background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;top:0;bottom:0;left:0;right:0}.dark .rp-overview-group__item__title:before{opacity:.5;background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif)}input#api-filter{background:var(--rp-c-bg)url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NjUgMTQuNjY2NEgxMy4zMzM1VjEzLjMzMzNIMTQuNjY2NVYxNC42NjY0Wk0xMy4zMzM1IDEzLjMzMzNIMTIuMDAwNVYxMi4wMDAzSDEzLjMzMzVWMTMuMzMzM1pNOS4zMzM1IDEyLjAwMDNINC4wMDA0OVYxMC42NjY0SDkuMzMzNVYxMi4wMDAzWk0xMi4wMDA1IDEyLjAwMDNIMTAuNjY2NVYxMC42NjY0SDEyLjAwMDVWMTIuMDAwM1pNNC4wMDA0OSAxMC42NjY0SDIuNjY2NVY5LjMzMzM0SDQuMDAwNDlWMTAuNjY2NFpNMTAuNjY2NSAxMC42NjY0SDkuMzMzNVY5LjMzMzM0SDEwLjY2NjVWMTAuNjY2NFpNMi42NjY1IDkuMzMzMzRIMS4zMzM1VjQuMDAwMzRIMi42NjY1VjkuMzMzMzRaTTEyLjAwMDUgOS4zMzMzNEgxMC42NjY1VjQuMDAwMzRIMTIuMDAwNVY5LjMzMzM0Wk00LjAwMDQ5IDQuMDAwMzRIMi42NjY1VjIuNjY2MzVINC4wMDA0OVY0LjAwMDM0Wk0xMC42NjY1IDQuMDAwMzRIOS4zMzM1VjIuNjY2MzVIMTAuNjY2NVY0LjAwMDM0Wk05LjMzMzUgMi42NjYzNUg0LjAwMDQ5VjEuMzMzMzRIOS4zMzM1VjIuNjY2MzVaIiBmaWxsPSIjODM4Mjg5Ii8+Cjwvc3ZnPgo=) no-repeat 12px center/16px 16px;border:1px solid var(--ck-border-primary);color:var(--rp-c-text-2);border-radius:var(--rp-radius-small);font-family:var(--rp-font-family);box-sizing:border-box;outline:none;min-width:200px;padding:10px 12px 10px 36px;font-size:16px;font-weight:400;line-height:1.5}input#api-filter::placeholder{color:var(--rp-c-text-3);opacity:1;font-family:var(--rp-font-family);font-size:16px;font-weight:400}input#api-filter::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuODMzMDEgMTUuODMzSDQuMTY2OTlWMTQuMTY3SDUuODMzMDFWMTUuODMzWk0xNS44MzMgMTUuODMzSDE0LjE2N1YxNC4xNjdIMTUuODMzVjE1LjgzM1pNNy41IDEyLjVWMTQuMTY3SDUuODMzMDFWMTIuNUg3LjVaTTE0LjE2NyAxNC4xNjdIMTIuNVYxMi41SDE0LjE2N1YxNC4xNjdaTTkuMTY2OTkgMTIuNUg3LjVWMTAuODMzSDkuMTY2OTlWMTIuNVpNMTIuNSAxMi41SDEwLjgzM1YxMC44MzNIMTIuNVYxMi41Wk0xMC44MzMgMTAuODMzSDkuMTY2OTlWOS4xNjY5OUgxMC44MzNWMTAuODMzWk05LjE2Njk5IDkuMTY2OTlINy41VjcuNUg5LjE2Njk5VjkuMTY2OTlaTTEyLjUgOS4xNjY5OUgxMC44MzNWNy41SDEyLjVWOS4xNjY5OVpNNy41IDcuNUg1LjgzMzAxVjUuODMzMDFINy41VjcuNVpNMTQuMTY3IDcuNUgxMi41VjUuODMzMDFIMTQuMTY3VjcuNVpNNS44MzMwMSA1LjgzMzAxSDQuMTY2OTlWNC4xNjY5OUg1LjgzMzAxVjUuODMzMDFaTTE1LjgzMyA1LjgzMzAxSDE0LjE2N1Y0LjE2Njk5SDE1LjgzM1Y1LjgzMzAxWiIgZmlsbD0iIzgzODI4OSIvPgo8L3N2Zz4K) 50%/contain no-repeat;width:16px;height:16px}.rp-overview-group__item:hover .rp-overview-group__item__title{border-color:var(--ck-accent)!important;background-color:#0000!important}.rp-overview-group__item:hover{border-color:var(--ck-accent)!important}.rp-overview-group__item:hover .rp-overview-group__item__title{color:var(--rp-c-brand);background-color:unset!important}div.rp-overview-group__item:hover .rp-overview-group__item__title,.rp-overview-group__item__content__item__link:hover{background-color:#0000!important}div.rp-search-panel__mask{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#15141580}div.rp-search-panel__modal{background:var(--rp-c-bg);border:1px solid var(--ck-border-primary);border-radius:var(--rp-radius);font-family:var(--rp-font-family);box-shadow:0 40px 40px -20px #201f244d;padding:0!important}div.rp-search-panel__input-form+h2{display:none}div.rp-search-panel__input-form{border:none!important}input.rp-search-panel__input{color:var(--rp-c-text-1)!important;font-family:var(--rp-font-family)!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;line-height:150%!important}div.rp-search-panel__results{box-shadow:0 40px 40px -20px #201f244d;border-top:1px solid var(--ck-border-primary)!important}div.rp-search-panel__results>div:not(:has(ul)){justify-content:flex-end}div.rp-search-panel__results svg{display:none!important}li.rp-suggest-item>a{box-shadow:none!important;color:var(--rp-c-text-1)!important;background-color:#0000!important;margin-left:1px!important;padding:0 16px!important}li.rp-suggest-item>a span.rp-suggest-item__mark{color:var(--rp-c-text-1)!important;text-decoration:underline!important}li.rp-suggest-item--current>a{color:var(--rp-c-text-1)!important;background-color:var(--rp-c-bg-soft)!important;text-decoration:none!important}li.rp-suggest-item--current>a p.rp-suggest-item__title{color:var(--rp-c-text-2)!important}li.rp-suggest-item--current>a span.rp-suggest-item__mark{background-color:var(--rp-c-bg-soft)!important}li.rp-suggest-item>a>div.rp-suggest-item__container>div>svg{display:none!important}li.rp-suggest-item>a>div.rp-suggest-item__container>div.rp-suggest-item__content{padding:0!important}a.rp-edit-link{color:var(--rp-c-text-2);padding-left:32px;position:relative}a.rp-edit-link:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDZINFYyMEgxOFYxNEgyMFYyMkgyVjRIMTBWNlpNOCAxNkgxMlYxOEg2VjEySDhWMTZaTTE0IDE2SDEyVjE0SDE0VjE2Wk0xNiAxNEgxNFYxMkgxNlYxNFpNMTAgMTJIOFYxMEgxMFYxMlpNMTggMTJIMTZWMTBIMThWMTJaTTEyIDEwSDEwVjhIMTJWMTBaTTIwIDEwSDE4VjhIMjBWMTBaTTE0IDhIMTJWNkgxNFY4Wk0yMiA4SDIwVjZIMjJWOFpNMTYgNkgxNFY0SDE2VjZaTTIwIDZIMThWNEgyMFY2Wk0xOCA0SDE2VjJIMThWNFoiIGZpbGw9IiM4MjMyRkYiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;width:24px;height:24px;position:absolute;top:-2px;left:0}.rp-header-anchor{margin-left:-1em!important;line-height:1.2!important}.rp-doc.rspress-doc>h1.rp-toc-include{margin-bottom:1.5rem!important}.rp-doc.rspress-doc>h2.rp-toc-include{border:none!important;margin-bottom:0!important}.rp-not-found{min-height:100vh!important}.rp-not-found__error-code{font-family:var(--rp-font-family)!important;color:var(--rp-c-text-1)!important;font-weight:500!important;line-height:1.2!important}.rp-not-found__title{font-family:var(--rp-font-family)!important;color:var(--rp-c-text-2)!important;font-weight:500!important;line-height:1.2!important}.rp-doc p>code{padding:.1em .2em;border-radius:4px!important;font-size:1em!important}.rp-code-button-group{top:8px!important;right:8px!important}aside.rp-doc-layout__outline{border-left:1px solid var(--rp-c-divider-light)!important;padding:16px 0!important}.rp-outline__title,aside.rp-doc-layout__outline>div.rp-outline{color:var(--rp-c-text-1)!important;border-left:none!important;font-size:14px!important;font-weight:500!important;line-height:1.5!important}.rp-toc-item{margin-top:0!important;padding-top:4px!important;padding-bottom:4px!important}svg.rp-progress-circle{display:none!important}.rp-outline__toc>a.rp-toc-item.rp-link:hover{background-color:var(--ck-foreground-primary)!important}.rp-toc-item{margin-left:-20px!important;margin-right:-20px!important;padding-left:20px!important;padding-right:20px!important}.rp-toc-item--active:before{left:0!important}.rp-link:hover{color:var(--rp-c-brand)}.rp-link:hover>code{color:var(--rp-c-brand)!important}.rp-doc a>code{color:var(--rp-c-text-1)!important;text-decoration:underline!important}p>.rp-link{border-bottom:1px solid var(--rp-c-text-1)}.rp-link:after{content:none!important}.rp-callout{font-family:var(--rp-font-family)!important;background:0 0!important;border:1px dashed #0000!important;border-left:2px solid!important;border-radius:0!important;flex-direction:column!important;align-items:flex-start!important;margin:1rem 0!important;padding:8px 16px!important;display:flex!important}.rp-callout__title{color:var(--rp-c-text-1)!important;flex-direction:row!important;align-items:center!important;margin-bottom:0!important;font-weight:500!important;line-height:1.5!important;display:flex!important}.rp-callout .rp-callout__title:before{width:24px;height:24px;margin-right:16px;display:inline-block;position:relative;top:0;left:0}.rp-callout__content>*{margin-left:40px!important;font-size:16px!important}.rp-callout .rp-callout__content a{font-weight:400!important}.rp-callout__content{width:100%}.rp-callout--info{border-left-color:var(--rp-container-info-border)!important}.rp-callout--tip{border-left-color:var(--rp-container-tip-border)!important}.rp-callout--warning{border-left-color:var(--rp-container-warning-border)!important}.rp-callout--danger{border-left-color:var(--rp-container-danger-border)!important}.rp-callout--details{border-left-color:var(--rp-container-details-border)!important}.rp-callout--note{border-left-color:var(--rp-container-note-border)!important}.rp-callout--tip .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMThINVYxNkg3VjE4Wk0xMyAxOEgxMVYxNkgxM1YxOFpNNSAxNkgzVjE0SDVWMTZaTTkgMTZIN1YxNEg5VjE2Wk0xNSAxNFYxNkgxM1YxNEgxNVpNMyAxNEgxVjEySDNWMTRaTTExIDE0SDlWMTJIMTFWMTRaTTE3IDE0SDE1VjEySDE3VjE0Wk0xMyAxMkgxMVYxMEgxM1YxMlpNMTkgMTJIMTdWMTBIMTlWMTJaTTE1IDEwSDEzVjhIMTVWMTBaTTIxIDEwSDE5VjhIMjFWMTBaTTE3IDhIMTVWNkgxN1Y4Wk0yMyA4SDIxVjZIMjNWOFoiIGZpbGw9IiMyRkM3MTciLz4KPC9zdmc+Cg==) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--info .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUgMjFIM1YzSDVWMjFaTTIxIDIxSDUuMDAwOThWMTlIMTlWNUg1LjAwMDk4VjNIMjFWMjFaTTEzIDExVjE3SDExVjExSDEzWk0xMyA5SDExVjdIMTNWOVoiIGZpbGw9IiM4MjMyRkYiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--warning .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIxIDIxSDNWM0gyMVYyMVpNNSAxOUgxOVY1SDVWMTlaTTEzIDE3SDExVjE1SDEzVjE3Wk0xMyAxM0gxMVY3SDEzVjEzWiIgZmlsbD0iI0ZGQjE0QyIvPgo8L3N2Zz4K) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--danger .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDIzSDExVjIxSDEzVjIzWk0xMSAyMUg5VjE5SDExVjIxWk0xNSAyMUgxM1YxOUgxNVYyMVpNOSAxOUg3VjE3SDlWMTlaTTE3IDE5SDE1VjE3SDE3VjE5Wk03IDE3SDVWMTVIN1YxN1pNMTMgMTdIMTFWMTVIMTNWMTdaTTE5IDE3SDE3VjE1SDE5VjE3Wk01IDE1SDNWMTNINVYxNVpNMjEgMTVIMTlWMTNIMjFWMTVaTTMgMTNIMVYxMUgzVjEzWk0xMyAxM0gxMVY3SDEzVjEzWk0yMyAxM0gyMVYxMUgyM1YxM1pNNSAxMUgzVjlINVYxMVpNMjEgMTFIMTlWOUgyMVYxMVpNNyA5SDVWN0g3VjlaTTE5IDlIMTdWN0gxOVY5Wk05IDdIN1Y1SDlWN1pNMTcgN0gxNVY1SDE3VjdaTTExIDVIOVYzSDExVjVaTTE1IDVIMTNWM0gxNVY1Wk0xMyAzSDExVjFIMTNWM1oiIGZpbGw9IiNGQTcxNzEiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--details .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDIwSDE4VjRIMjBWMjBaTTEyIDE1VjE3SDEwVjE1SDEyWk0xNCAxMUgxNlYxM0gxNFYxNUgxMlYxM0g0VjExSDEyVjlIMTRWMTFaTTEyIDlIMTBWN0gxMlY5WiIgZmlsbD0iIzgzODI4OSIvPgo8L3N2Zz4K) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--note .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIxIDJWMjJIM1YySDIxWk01IDRWMjBIMTlWNEg1Wk0xNCAxNkg3VjE0SDE0VjE2Wk0xNyAxMkg3VjEwSDE3VjEyWk0xNyA4SDdWNkgxN1Y4WiIgZmlsbD0iIzgzODI4OSIvPgo8L3N2Zz4K) 50%/contain no-repeat;background-color:#0000!important}details.details{position:relative}summary.rp-callout__title{width:100%}details[open]>summary.rp-callout__title:after{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxMiAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNSA0LjVINy41VjMuNUg2LjVWMi41SDUuNVYzLjVINC41VjQuNUg1LjVWMTAuNUg2LjVWNC41Wk00LjUgNC41SDMuNVY1LjVINC41VjQuNVpNOC41IDQuNUg3LjVWNS41SDguNVY0LjVaTTMuNSA2LjVWNS41SDIuNVY2LjVIMy41Wk05LjUgNS41SDguNVY2LjVIOS41VjUuNVoiIGZpbGw9IiNCQ0JCQzIiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;width:24px;height:24px;position:absolute;left:95%}details:not([open])>summary.rp-callout__title:after{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxMiAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNSA4LjVINy41VjkuNUg2LjVWMTAuNUg1LjVWOS41SDQuNVY4LjVINS41VjIuNUg2LjVWOC41Wk00LjUgOC41SDMuNVY3LjVINC41VjguNVpNOC41IDguNUg3LjVWNy41SDguNVY4LjVaTTMuNSA2LjVWNy41SDIuNVY2LjVIMy41Wk05LjUgNy41SDguNVY2LjVIOS41VjcuNVoiIGZpbGw9IiNCQ0JCQzIiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;width:24px;height:24px;position:absolute;left:95%}.bar-yFRNhz{color:#fff;background-color:#8232ff;justify-content:center;align-items:center;height:32px;display:flex;position:relative}.link-iUd1SG{color:#fff;font-family:Switzer Variable,sans-serif;font-size:14px;font-weight:500;line-height:1.5;text-decoration:none}.link-iUd1SG:hover{opacity:.9;text-decoration:underline}.link-iUd1SG:active{opacity:.7}.close-kUdhEg{z-index:1;box-sizing:border-box;width:16px;height:16px;position:absolute;right:16px;cursor:pointer!important}.close-kUdhEg:hover{background-color:#ffffff4d}.badge-JOuwlY{vertical-align:middle;border-radius:var(--rp-radius-small);padding-inline-start:.625rem;padding-inline-end:.625rem;border:1px solid #0000;justify-content:center;align-items:center;gap:.25rem;height:1.5rem;padding:0 6px;font-size:14px;font-weight:500;line-height:1.5;transition:color .25s;display:inline-flex}.badge-JOuwlY.tip-obOVcS{color:var(--rp-container-tip-border);background-color:var(--rp-container-tip-bg)}.badge-JOuwlY.info-q_r3eR{color:var(--rp-container-info-border);background-color:var(--rp-container-info-bg)}.badge-JOuwlY.warning-BggZiV{color:var(--rp-container-warning-border);background-color:var(--rp-container-warning-bg)}.badge-JOuwlY.danger-UwnNxJ{color:var(--rp-container-danger-border);background-color:var(--rp-container-danger-bg)}.badge-JOuwlY.note-ItYjre{color:var(--rp-container-note-border);background-color:var(--rp-container-note-bg)}.outline-gGpHp9.tip-obOVcS{border-color:var(--rp-container-tip-border)}.outline-gGpHp9.info-q_r3eR{border-color:var(--rp-container-info-border)}.outline-gGpHp9.warning-BggZiV{border-color:var(--rp-container-warning-border)}.outline-gGpHp9.danger-UwnNxJ{border-color:var(--rp-container-danger-border)}.outline-gGpHp9.note-ItYjre{border-color:var(--rp-container-note-border)}.button-DogSnd{font-family:var(--rp-font-family);cursor:pointer;border-radius:2px;gap:8px;width:-moz-fit-content;width:fit-content;padding:4px 4px 4px 16px;font-size:14px;font-weight:500;line-height:1.5;transition:background-position .45s cubic-bezier(.625,.05,0,1),color .45s cubic-bezier(.625,.05,0,1),transform .45s cubic-bezier(.625,.05,0,1);display:block}@media (pointer:fine){.button-DogSnd:hover{color:#fff!important;background-position:0 100%!important}.button-DogSnd:hover svg.button-icon-Okk0hT>path{animation:.2s cubic-bezier(.625,.05,0,1) slide-out-Yp9sdv,.25s cubic-bezier(.625,.05,0,1) .2s slide-in-_qbjG1}}.button-DogSnd>*{vertical-align:-50%}.button-DogSnd.alt-XB5jdj,.dark .button-DogSnd.brand-rT2ahT{background:linear-gradient(to right,var(--rp-c-brand)50%,#fff 50%)right bottom/calc(200% + 1px)100%;color:#201f24}.button-DogSnd.brand-rT2ahT,.dark .button-DogSnd.alt-XB5jdj{background:linear-gradient(to right,var(--rp-c-brand)50%,#201f24 50%)right bottom/calc(200% + 1px)100%;color:#fff}@keyframes slide-in-_qbjG1{0%{transform:translate(-150%)}to{transform:translate(0%)}}@keyframes slide-out-Yp9sdv{0%{transform:translate(0%)}to{transform:translate(150%)}}.brand-rT2ahT{border:none}.alt-XB5jdj{border:1px solid var(--rp-c-divider-light)}.button-icon-Okk0hT{border-radius:2px;width:32px;height:32px;margin-left:12px;padding:8px;transition:color .45s cubic-bezier(.625,.05,0,1);display:inline-block;overflow:hidden}.button-DogSnd.alt-XB5jdj .button-icon-Okk0hT,.button-icon-Okk0hT,.dark .button-DogSnd.brand-rT2ahT .button-icon-Okk0hT{color:inherit;background:#1514151a}.button-DogSnd.brand-rT2ahT .button-icon-Okk0hT,.dark .button-DogSnd.alt-XB5jdj .button-icon-Okk0hT{color:inherit;background:#fff3}.card-Mp1eVU{color:var(--rp-c-text-1);border:1px dashed var(--rp-c-divider);border-radius:var(--rp-radius-small);justify-content:space-between;align-items:flex-start;margin:1rem 0;padding:32px;display:flex;position:relative}.cardContentContainer-uPAwxW{flex-direction:column;display:flex}.cardTitle-TpjSJW{font-family:var(--ck-header-font-family);font-size:24px;font-weight:500;line-height:1.5}.cardContent-IHYWJn{font-family:var(--rp-font-family);color:var(--rp-c-text-2);letter-spacing:-.32px;text-align:left;margin-bottom:0;font-size:16px;font-weight:400;line-height:1.5}.container-uhcWmO{color:var(--rp-c-brand-light);background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif);background-position:100% 100%;background-repeat:no-repeat;background-size:cover;border-radius:4px;align-items:center;max-width:72rem;margin:64px auto 0;padding:40px;display:flex;position:relative;overflow:hidden}.logo-IwzwG8{pointer-events:none;opacity:.7;position:absolute;left:25%}.content-uJxcIj{z-index:4;align-items:center;width:100%;display:flex;position:relative}.headlineContainer-NHNT4y{flex:1;max-width:300px;display:flex}.buttonContainer-wOj8Y6{flex:1;justify-content:flex-end;display:flex}.headline-iCUUUl{color:#fff;font-family:var(--ck-header-font-family);letter-spacing:-.8px;margin-bottom:0;font-size:20px;font-weight:500;line-height:1.2}@media (max-width:960px){.logo-IwzwG8{left:20%;scale:1.2}}@media (max-width:640px){.container-uhcWmO{margin:32px auto -32px}.logo-IwzwG8{left:15%;scale:1.5}.headline-iCUUUl{letter-spacing:-.32px;font-size:16px}}.wrapper-mI4CtC{max-width:72rem;margin:auto}.container-JklxSY{color:var(--rp-c-brand-light);margin:var(--rp-content-padding-y)8px;background-color:#322659;background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif);background-position:100% 100%;background-repeat:no-repeat;background-size:cover;border-radius:4px;justify-content:flex-start;align-items:center;padding:64px 48px;display:flex;position:relative;overflow:hidden}.logo-wGu6zG{pointer-events:none;opacity:.7;position:absolute}.content-qrbCuM{z-index:4;flex-direction:column;align-items:flex-start;gap:32px;width:100%;max-width:640px;display:flex;position:relative}.headline-urbBtl{color:#fff;font-family:var(--ck-header-font-family);letter-spacing:-1.6px;margin:0;font-size:40px;font-weight:600;line-height:1.2}.description-a82hKX{flex-direction:column;gap:32px;max-width:416px;display:flex}.descriptionText-UMW_4H{color:#cfced5;letter-spacing:-.36px;font-size:18px;font-weight:400;line-height:1.5;font-family:var(--rp-font-family)}@media (max-width:960px){.container-JklxSY{height:320px;padding:32px 16px}.content-qrbCuM{gap:24px;max-width:90vw}.logo-wGu6zG{scale:1.2}.headline-urbBtl{letter-spacing:-1px;font-size:28px}.description-a82hKX{gap:20px;max-width:380px}.descriptionText-UMW_4H{font-size:16px}}@media (max-width:640px){.container-JklxSY{height:240px}.content-qrbCuM{gap:16px;max-width:100vw}.logo-wGu6zG{scale:1.5}.headline-urbBtl{letter-spacing:-.5px;font-size:20px}.description-a82hKX{gap:12px;max-width:320px}.descriptionText-UMW_4H{font-size:14px}.grid-2-cgAqRP,.grid-4-JvWJqM,.grid-6-dUNjnk{width:100%}}@media (min-width:640px){.grid-2-cgAqRP,.grid-4-JvWJqM,.grid-6-dUNjnk{width:50%}}@media (min-width:768px){.grid-2-cgAqRP,.grid-4-JvWJqM{width:50%}.grid-3-UOYenV,.grid-6-dUNjnk{width:33.3333%}}@media (min-width:960px){.grid-3-UOYenV{width:25%}.grid-4-JvWJqM{width:33.3333%}.grid-6-dUNjnk{width:50%}}.container-Pu3RMt{flex-flow:wrap;max-width:72rem;margin:auto;display:flex;overflow:hidden}.featureCardContainer-NOFPt7{height:100%;padding:8px}.featureCard-XfKTmz{color:var(--rp-c-text-1);border:1px dashed var(--rp-c-divider);border-radius:var(--rp-radius-small);flex-direction:column;align-items:flex-start;gap:32px;height:100%;padding:32px;transition:border-color .3s cubic-bezier(.65,.05,.36,1);display:flex;position:relative}.featureCard-XfKTmz:hover{color:var(--rp-c-brand);border-color:var(--ck-accent)}.featureCard-XfKTmz:before{content:"";opacity:0;z-index:-1;border-radius:inherit;background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAZhtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAANGlsb2MAAAAAREAAAgACAAAAAAG8AAEAAAAAAAAAIQABAAAAAAHdAAEAAAAAAAABvgAAADhpaW5mAAAAAAACAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAFWluZmUCAAAAAAIAAGF2MDEAAAAA12lwcnAAAACxaXBjbwAAABNjb2xybmNseAACAAIABoAAAAAMYXYxQ4EEHAAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAAA5waXhpAAAAAAEIAAAAOGF1eEMAAAAAdXJuOm1wZWc6bXBlZ0I6Y2ljcDpzeXN0ZW1zOmF1eGlsaWFyeTphbHBoYQAAAAAMYXYxQ4EkAgAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAABBwaXhpAAAAAAMICAgAAAAeaXBtYQAAAAAAAAACAAEEgYYHiAACBIIDhIUAAAAaaXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAedtZGF0EgAKBxkmaPufhUAyFBIAAABQEnFcCJBhnz/FpaY9OM+oEgAKBzkmaPufgkAysAMSAABBBAFAdwo2pzAtvYEyy/3PwE6f/vhzVuvHj7ra1LLUFgC3vJssr6tiT5FH714XOhDxguZprICt+RLk/AUcLUmu2v7BwLvj/Q/RZRV2gEwa1WNxCssp8DrxwihYCKLptu67qiUdOZR3JH2buMN14AZM0OnnVtEx2EprBbbRRRDdV7ELBX2x7Qn4nh5+aNHZqUE8COGF9GQqEwFmEFwJB76xdUrJ+nhdMSh7MLB0rwyXXDowC5IXFdjL2x4TbTvDrBRx0GmM+Uo0/DzYbiQjN44XpA2TwpEk1q4Rkko8Dp5z2mXIznhPu5kPZz4iCiZO0fsIIEfIAwFsprHlFbettt5CeoXnBr5t3fnn5remeymreTzShDWbm/krXjkhrRKqvQsbhW86//r+7zF/6mMuTWtbFv7uE+Xr4wQvCk4CzjAkPzEuiUj1Ju83O7fBi2GjyKv007HKqJYnOZDybTOI+K0WBp8egtvkuoIbuhRutNAwD+Pw+Yt95zQOaBSux1gRse7Gsqr583Qscbfn0LLj6iIcCddWI0bgu1W8lW62eQC/aPfPY1HY5I4Fq9YY8kA=);background-position:50%;background-repeat:no-repeat;background-size:cover;transition:opacity .3s cubic-bezier(.65,.05,.36,1);position:absolute;top:0;bottom:0;left:0;right:0}.dark .featureCard-XfKTmz:before{background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif)}.featureCard-XfKTmz:hover:before{opacity:1}.dark .featureCard-XfKTmz:hover:before{opacity:.5}.featureIcon-Hb8_cv{width:32px;height:32px;color:var(--rp-c-brand);justify-content:center;align-items:center;margin-bottom:0;display:flex}.featureIconContainer-pVL4Ko{justify-content:center;align-items:center;display:flex}.featureTitle-cyqmgX{font-family:var(--ck-header-font-family);letter-spacing:-.8px;text-align:left;margin-bottom:16px;font-size:20px;font-weight:500;line-height:1.2}.featureDetail-QDEU9M{font-family:var(--rp-font-family);color:var(--rp-c-text-2);letter-spacing:-.32px;text-align:left;margin-bottom:0;font-size:16px;font-weight:400;line-height:1.5}.container-IBgsxu{width:100%;max-width:72rem;margin:0 auto;padding:0 8px}.row-VpRJwk{flex-direction:row;justify-content:space-between;align-items:center;display:flex}.logo-eionWK{width:101px;height:20px;position:relative;overflow:hidden}.message-flKFGZ{color:var(--rp-c-text-3);text-align:center;margin:0 8px;font-size:12px;font-weight:400;line-height:1.5}.logoDark-o8oBUU{display:none}.dark .logoDark-o8oBUU,.logoLight-uCgBdi{display:block}.dark .logoLight-uCgBdi{display:none}.container-Ey5SDc{width:calc(100% - 16px);max-width:72rem;padding:calc(var(--rp-content-padding-y)*1.5)0 var(--rp-content-padding-y)0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0 auto;display:flex;position:relative;overflow:hidden}.heroMain-aBhXSi{text-wrap:balance;flex-direction:column;max-width:55%;display:flex}.heroImage-SovGBC{max-height:24px;margin:0 0 32px}.heroName-_0lw9K{color:var(--rp-c-text-1);font-family:Alliance No\.2,Arial,sans-serif;font-size:64px;font-style:normal;font-weight:400!important;line-height:1.1!important}.heroTaglineActions-jKkfzE{flex-direction:column;justify-content:flex-end;align-self:flex-end;align-items:flex-end;gap:32px;margin:0 32px 0 60%;display:flex}.heroTagline-HUMGEx{color:var(--rp-c-text-2);font-family:var(--rp-font-family);letter-spacing:-.36px;text-wrap:pretty;max-width:500px;font-size:18px;font-weight:400;line-height:1.5}.heroActions-x2L3Tk{flex-wrap:wrap;justify-content:flex-start;align-self:flex-start;gap:16px;display:flex}@media (max-width:960px){.container-Ey5SDc{padding-top:1.6rem;padding-bottom:1.6rem}.heroMain-aBhXSi{flex-direction:row;justify-content:space-around;align-items:center;max-width:100%}.heroImage-SovGBC{margin:0 32px 32px}.heroName-_0lw9K{text-align:center;margin:0 32px;font-size:48px}.heroTaglineActions-jKkfzE{align-self:center;margin:32px}.heroTagline-HUMGEx{text-align:center;max-width:100%}.heroActions-x2L3Tk{align-self:center}}@media (max-width:640px){.heroMain-aBhXSi{flex-direction:column;justify-content:space-between;align-items:center;width:100%;display:flex}.heroImage-SovGBC{margin:0 16px 32px}.heroName-_0lw9K{text-align:center;margin:0 16px;font-size:32px}.heroActions-x2L3Tk{justify-content:center}}@media (max-width:400px){.heroTaglineActions-jKkfzE{align-self:center;margin-bottom:0}.heroActions-x2L3Tk{gap:12px}}.heroImageLight-sb5aHd{display:block}.heroImageDark-tJROGU{display:none}.dark .heroImageDark-tJROGU{display:block}.dark .heroImageLight-sb5aHd{display:none}.linkCard-cPk9Gt{color:var(--rp-c-text-1);border:1px dashed var(--rp-c-divider);border-radius:var(--rp-radius-small);justify-content:space-between;align-items:flex-start;margin:1rem 0;padding:32px;transition:border-color .3s cubic-bezier(.65,.05,.36,1);display:flex;position:relative}.linkCard-cPk9Gt:hover{border-color:var(--ck-accent);color:var(--rp-c-brand)!important}.linkCard-cPk9Gt:before{content:"";opacity:0;z-index:-1;border-radius:inherit;background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAZhtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAANGlsb2MAAAAAREAAAgACAAAAAAG8AAEAAAAAAAAAIQABAAAAAAHdAAEAAAAAAAABvgAAADhpaW5mAAAAAAACAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAFWluZmUCAAAAAAIAAGF2MDEAAAAA12lwcnAAAACxaXBjbwAAABNjb2xybmNseAACAAIABoAAAAAMYXYxQ4EEHAAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAAA5waXhpAAAAAAEIAAAAOGF1eEMAAAAAdXJuOm1wZWc6bXBlZ0I6Y2ljcDpzeXN0ZW1zOmF1eGlsaWFyeTphbHBoYQAAAAAMYXYxQ4EkAgAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAABBwaXhpAAAAAAMICAgAAAAeaXBtYQAAAAAAAAACAAEEgYYHiAACBIIDhIUAAAAaaXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAedtZGF0EgAKBxkmaPufhUAyFBIAAABQEnFcCJBhnz/FpaY9OM+oEgAKBzkmaPufgkAysAMSAABBBAFAdwo2pzAtvYEyy/3PwE6f/vhzVuvHj7ra1LLUFgC3vJssr6tiT5FH714XOhDxguZprICt+RLk/AUcLUmu2v7BwLvj/Q/RZRV2gEwa1WNxCssp8DrxwihYCKLptu67qiUdOZR3JH2buMN14AZM0OnnVtEx2EprBbbRRRDdV7ELBX2x7Qn4nh5+aNHZqUE8COGF9GQqEwFmEFwJB76xdUrJ+nhdMSh7MLB0rwyXXDowC5IXFdjL2x4TbTvDrBRx0GmM+Uo0/DzYbiQjN44XpA2TwpEk1q4Rkko8Dp5z2mXIznhPu5kPZz4iCiZO0fsIIEfIAwFsprHlFbettt5CeoXnBr5t3fnn5remeymreTzShDWbm/krXjkhrRKqvQsbhW86//r+7zF/6mMuTWtbFv7uE+Xr4wQvCk4CzjAkPzEuiUj1Ju83O7fBi2GjyKv007HKqJYnOZDybTOI+K0WBp8egtvkuoIbuhRutNAwD+Pw+Yt95zQOaBSux1gRse7Gsqr583Qscbfn0LLj6iIcCddWI0bgu1W8lW62eQC/aPfPY1HY5I4Fq9YY8kA=);background-position:50%;background-repeat:no-repeat;background-size:cover;transition:opacity .3s cubic-bezier(.65,.05,.36,1);position:absolute;top:0;bottom:0;left:0;right:0}.link-zuNVWp:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0}.dark .linkCard-cPk9Gt:before{background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif)}.linkCard-cPk9Gt:hover:before{opacity:1}.dark .linkCard-cPk9Gt:hover:before{opacity:.5}.linkCardContent-GW7Cr2{flex-direction:column;display:flex}.linkCardTitle-uyQhA8{font-family:var(--ck-header-font-family);font-size:24px;font-weight:500;line-height:1.5}.linkCardDescription-vJgWKQ{font-family:var(--rp-font-family);color:var(--rp-c-text-2);letter-spacing:-.32px;text-align:left;margin-bottom:0;font-size:16px;font-weight:400;line-height:1.5}.container-LzbylO{border-radius:4px;flex-direction:column;gap:16px;padding:0 24px 48px;display:flex;position:relative}.container-LzbylO:before{content:"";width:90%;display:block;position:absolute;top:-1px;left:5%}.headline-y75_LS{color:var(--rp-c-text-1);font-family:var(--ck-header-font-family);letter-spacing:-.64px;margin-bottom:8px;font-size:16px;font-weight:500;line-height:1.2}.description-muYVs3{color:var(--rp-c-text-2);font-family:var(--rp-font-family);letter-spacing:-.28px;font-size:14px;font-weight:400;line-height:1.5}::view-transition-old(root){mix-blend-mode:normal;animation:none}::view-transition-new(root){mix-blend-mode:normal;animation:none}::view-transition-old(root){z-index:1}.dark-q8ZwQl::view-transition-new(root){z-index:1}::view-transition-new(root){z-index:9999}.dark-q8ZwQl::view-transition-old(root){z-index:9999}.container-guehiO{padding-bottom:8px}:root{--rp-container-note-border:var(--rp-c-divider-light);--rp-container-note-text:var(--rp-c-text-1);--rp-container-note-bg:var(--rp-c-bg-soft);--rp-container-note-code-bg:#8080801a;--rp-container-note-link:var(--rp-c-link);--rp-container-tip-border:#079c7033;--rp-container-tip-text:#008555;--rp-container-tip-bg:#f2f9f7;--rp-container-tip-code-bg:#079c701a;--rp-container-info-border:#0095ff33;--rp-container-info-text:#07f;--rp-container-info-bg:#0095ff0f;--rp-container-info-code-bg:#0095ff1a;--rp-container-warning-border:#ffc51766;--rp-container-warning-text:#887233;--rp-container-warning-bg:#ffc5171a;--rp-container-warning-code-bg:#ffc5171a;--rp-container-danger-border:#ed3c5033;--rp-container-danger-text:#ab2131;--rp-container-danger-bg:#ed3c5014;--rp-container-danger-code-bg:#ed3c501a;--rp-container-details-border:var(--rp-c-divider-light);--rp-container-details-text:var(--rp-c-text-1);--rp-container-details-bg:var(--rp-c-bg-soft);--rp-container-details-code-bg:#8080801a;--rp-code-title-bg-with-opacity:color-mix(in srgb,var(--rp-code-title-bg)70%,transparent);--rp-code-block-bg-with-opacity:color-mix(in srgb,var(--rp-code-block-bg)70%,transparent)}.dark{--rp-container-tip-text:#3ec480;--rp-container-tip-bg:#079c701a;--rp-container-info-text:#66c2ff;--rp-container-info-bg:#0095ff1a;--rp-container-warning-text:#fbb451;--rp-container-warning-border:#ffc51740;--rp-container-warning-bg:#ffc5171f;--rp-container-danger-text:#f76e85;--rp-container-danger-border:#ed3c504d;--rp-container-danger-bg:#ed3c501f}.rp-callout{border-radius:var(--rp-radius);border:1px solid #0000;margin:24px 0;padding:20px 24px 12px}.rp-callout__title{margin-bottom:8px;font-size:16px;font-weight:600;position:relative}.rp-callout__title:before{content:"";border-radius:0 20px 20px 0;width:4px;height:110%;position:absolute;top:-5%;left:-24px}.rp-callout__content{font-size:14px;font-weight:400}.rp-callout__content p{margin:8px 0}.rp-callout__content .rp-codeblock__title{background-color:var(--rp-code-title-bg-with-opacity)}.rp-callout__content .rp-codeblock__content{background-color:var(--rp-code-block-bg-with-opacity)}.rp-callout__content a{border-bottom:1px solid}.rp-callout--note{border-color:var(--rp-container-note-border);background-color:var(--rp-container-note-bg)}.rp-callout--note .rp-callout__title{color:var(--rp-container-note-text)}.rp-callout--note .rp-callout__title:before{background-color:var(--rp-container-note-text)}.rp-callout--note :not(:-webkit-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:-moz-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:-webkit-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:-moz-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:is(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note a{color:var(--rp-container-note-text)}.rp-callout--tip{border-color:var(--rp-container-tip-border);background-color:var(--rp-container-tip-bg)}.rp-callout--tip .rp-callout__title{color:var(--rp-container-tip-text)}.rp-callout--tip .rp-callout__title:before{background-color:var(--rp-container-tip-text)}.rp-callout--tip :not(:-webkit-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:-moz-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:-webkit-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:-moz-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:is(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip a{color:var(--rp-container-tip-text)}.rp-callout--info{border-color:var(--rp-container-info-border);background-color:var(--rp-container-info-bg)}.rp-callout--info .rp-callout__title{color:var(--rp-container-info-text)}.rp-callout--info .rp-callout__title:before{background-color:var(--rp-container-info-text)}.rp-callout--info :not(:-webkit-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:-moz-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:-webkit-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:-moz-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:is(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info a{color:var(--rp-container-info-text)}.rp-callout--warning{border-color:var(--rp-container-warning-border);background-color:var(--rp-container-warning-bg)}.rp-callout--warning .rp-callout__title{color:var(--rp-container-warning-text)}.rp-callout--warning .rp-callout__title:before{background-color:var(--rp-container-warning-text)}.rp-callout--warning :not(:-webkit-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:-moz-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:-webkit-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:-moz-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:is(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning a{color:var(--rp-container-warning-text)}.rp-callout--caution,.rp-callout--danger{border-color:var(--rp-container-danger-border);background-color:var(--rp-container-danger-bg)}.rp-callout--caution .rp-callout__title,.rp-callout--danger .rp-callout__title{color:var(--rp-container-danger-text)}.rp-callout--caution .rp-callout__title:before,.rp-callout--danger .rp-callout__title:before{background-color:var(--rp-container-danger-text)}.rp-callout--caution :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:is(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:is(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution a,.rp-callout--danger a{color:var(--rp-container-danger-text)}.rp-callout--details{border-color:var(--rp-container-details-border);background-color:var(--rp-container-details-bg)}.rp-callout--details .rp-callout__title{color:var(--rp-container-details-text)}.rp-callout--details .rp-callout__title:before{background-color:var(--rp-container-details-text)}.rp-callout--details :not(:-webkit-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:-moz-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:-webkit-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:-moz-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:is(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details a{color:var(--rp-container-details-text)}details.rp-callout{font-size:normal;cursor:pointer;margin:24px 0;padding:20px 24px 12px;transition:background-color .3s}details.rp-callout:hover{background-color:var(--rp-c-bg-mute)}.rp-codeblock{border:var(--rp-code-block-border);box-shadow:var(--rp-code-block-shadow);border-radius:var(--rp-radius);margin:1rem 0;transition:none;position:relative;overflow-x:auto}@media (max-width:640px){.rp-codeblock{contain:content;margin:1.5rem 0}}.rp-codeblock__title{font-family:var(--rp-font-family-mono);font-size:var(--rp-code-font-size);background-color:var(--rp-code-title-bg);border-bottom:var(--rp-code-block-border);padding:.75rem 1rem}.rp-codeblock__content{color:var(--rp-code-block-color);background-color:var(--rp-code-block-bg);position:relative}.rp-codeblock__content__scroll-container{overflow-x:auto}.rp-codeblock__content :where(pre){text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none;z-index:1;background:0 0;outline:none;margin:0;position:relative}.rp-codeblock__content :where(code){font-size:var(--rp-code-font-size);font-family:var(--rp-font-family-mono);width:-moz-fit-content;width:fit-content;min-width:100%;padding:1rem 0;line-height:1.7;display:inline-block}.rp-codeblock__content--code-wrap code{white-space:pre-wrap!important;word-break:break-all!important}.rp-codeblock__content--line-numbers code{counter-reset:step;counter-increment:step 0}.rp-codeblock__content--line-numbers code .line:before{content:counter(step);counter-increment:step;text-align:right;color:#738a9466;width:1rem;margin-right:1rem;display:inline-block}:root{--rp-code-button-group-z-index:10}.rp-codeblock__content:hover .rp-code-button-group__button{opacity:1}.rp-code-button-group{z-index:var(--rp-code-button-group-z-index);gap:10px;display:flex;position:absolute;top:20px;right:20px}.rp-code-button-group__button{opacity:0;cursor:pointer;background-color:#0000;justify-content:center;align-items:center;transition:opacity .2s ease-out;display:flex;position:relative}.rp-code-button-group__icon{opacity:inherit;width:20px;height:20px;color:var(--rp-c-text-3);transition:all .2s}.rp-code-button-group__icon:hover{color:var(--rp-c-text-2)}.rp-code-button-group__icon--wrap{opacity:1;transform:scale(1)}.rp-code-button-group__icon--wrapped{opacity:0;color:#00d600;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.rp-code-wrap-button--wrapped .rp-code-button-group__icon--wrap{opacity:0;transform:scale(.33)}.rp-code-wrap-button--wrapped .rp-code-button-group__icon--wrapped{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.rp-code-copy-button{position:relative}.rp-code-copy-button__icon--success{opacity:0;color:#00d600;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.rp-code-copy-button--copied .rp-code-copy-button__icon--copy{opacity:0;transform:scale(.33)}.rp-code-copy-button--copied .rp-code-copy-button__icon--success{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(p){margin-top:1.25rem;margin-bottom:1.25rem;line-height:1.75rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(strong,b){font-weight:600}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(hr){border-color:var(--rp-c-divider-light);border-top-width:1px;margin:3rem 0;display:block}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor)){color:var(--rp-c-link);overflow-wrap:break-word;font-weight:500;text-decoration:none;transition:color .25s;display:inline}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor)):hover{opacity:.85;border-bottom:1px solid}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor))[target=_blank]:after{content:"↗";margin-left:.2em;margin-right:.1em;font-size:.7em;font-weight:700;transition:transform .2s;display:inline-block;transform:translateY(-.3em)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor))[target=_blank]:hover:after{transform:translate(.1em,-.5em)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6){outline:none;font-weight:600}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6) .rp-header-anchor{float:left;opacity:0;font-weight:500;font-size:inherit;margin-left:-.8em;transition:color .25s,opacity .25s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6) .rp-header-anchor:hover{border-bottom:1px solid var(--rp-c-brand);opacity:.85}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6):hover .rp-header-anchor{opacity:1}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6):hover .rp-header-anchor:focus{opacity:1}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(.rp-header-anchor){color:var(--rp-c-brand)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1){margin-bottom:2rem;font-size:2rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h2){margin-top:3rem;margin-bottom:1.25rem;font-size:1.75rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h2:first-of-type):before{content:"";background:var(--rp-c-divider-light);width:100%;height:1px;margin-bottom:3rem;display:block}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h3){margin-top:2rem;margin-bottom:1.25rem;font-size:1.5rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h4){margin-top:1.5rem;margin-bottom:1rem;font-size:1.25rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h5){margin-top:1.25rem;margin-bottom:.75rem;font-size:1.125rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h6){margin-top:1rem;margin-bottom:.5rem;font-size:1rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(blockquote){border-left:2px solid var(--rp-c-divider);color:var(--rp-c-text-2);margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(blockquote p){color:var(--rp-c-text-2);margin:0;font-size:1rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ul){margin-top:1rem;margin-bottom:1rem;padding-left:1.25rem;line-height:1.75rem;list-style:outside}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ol){margin-top:1rem;margin-bottom:1rem;padding-left:1.25rem;line-height:1.75rem;list-style:decimal}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ul li):not(:first-child){margin-top:.5rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ol li):not(:first-child){margin-top:.5rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(.rp-table-scroll-container){overflow-x:auto}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table){table-layout:auto;border-collapse:separate;border-spacing:0;border:var(--rp-code-block-border);border-radius:var(--rp-radius);width:100%;overflow:hidden}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table)::-webkit-scrollbar{width:5px;height:5px}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table)::-webkit-scrollbar-corner{display:none}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table)::-webkit-scrollbar-thumb{background-color:#0000000d;border-radius:10px}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(thead){color:var(--rp-c-text-0);background:var(--rp-code-title-bg)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(th){text-align:left;border-bottom:1px solid var(--rp-c-divider-light);padding:.75rem 1.25rem;font-size:.875rem;font-weight:600;position:relative}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tbody){background:var(--rp-c-bg)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(td){border-bottom:1px solid var(--rp-c-divider-light);padding:.75rem 1.25rem;font-size:.875rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tr){transition:background-color .2s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tr):hover{background:var(--rp-c-bg-soft)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tr:last-child td){border-bottom:none}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(pre)>code){font-size:.875em;font-family:var(--rp-font-family-mono);border-radius:var(--rp-radius-small);background-color:var(--rp-c-text-code-bg);border:1px solid var(--rp-c-text-code-border);overflow-wrap:break-word;padding:3px 6px}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-webkit-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-moz-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-webkit-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-moz-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:is(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a>code){color:var(--rp-c-brand-dark);transition:color .25s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a:hover>code){color:var(--rp-c-brand)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(details){cursor:pointer;margin:16px 0;padding:8px;transition:background-color .3s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(details):hover{background-color:var(--rp-c-bg-mute)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table){border-color:var(--rp-c-divider)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table tr){border-color:var(--rp-c-divider)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table td){border-color:var(--rp-c-divider)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table th){border-color:var(--rp-c-divider)}.rp-doc-footer{margin-top:48px}.rp-doc-footer__edit{justify-content:space-between;align-items:center;display:flex}.rp-doc-footer__divider{background-color:var(--rp-c-divider-light);width:100%;height:.5px;margin:48px 0}.rp-edit-link{color:var(--rp-c-brand);font-size:15px;font-weight:500;text-decoration:none;transition:all .2s ease-in-out}.rp-edit-link:hover{color:var(--rp-c-brand-dark)}.rp-home-background{z-index:-1;filter:blur(2px);pointer-events:none;-webkit-user-select:none;user-select:none;background:var(--rp-home-background-bg);width:100%;height:1000px;position:absolute;top:0;left:0}.rp-hover-group{border:var(--rp-code-block-border);background:var(--rp-c-bg);width:auto;min-width:80px;box-shadow:var(--rp-shadow-2);z-index:999;border-radius:8px;flex-direction:column;align-items:flex-start;padding:8px;list-style:none;transition:opacity .3s ease-in-out;display:flex;position:absolute;top:80%}.rp-hover-group--center{left:50%;transform:translate(-50%)}.rp-hover-group--left{left:0;transform:none}.rp-hover-group--right{right:0;transform:none}.rp-hover-group--hidden{visibility:hidden;opacity:0}.rp-hover-group__item{white-space:nowrap;height:32px;color:var(--rp-c-text-1);border-radius:8px;flex:1;align-self:stretch;padding-right:8px;font-size:14px;font-style:normal;font-weight:500;line-height:32px;transition:background-color .3s ease-in-out;display:block}.rp-hover-group__item__link{align-items:center;gap:2px;height:100%;display:flex}.rp-hover-group__item--active{color:var(--rp-c-brand);cursor:auto;pointer-events:none;font-weight:600}.rp-hover-group__item:hover{opacity:.7}.rp-last-updated{color:var(--rp-c-text-3);font-size:14px;font-style:normal;font-weight:400;line-height:20px}.rp-link{cursor:pointer}.rp-nav{height:var(--rp-nav-height);border-bottom:1px solid var(--rp-c-divider-light);background:var(--rp-c-bg);color:var(--rp-c-text-1);--rp-nav-padding-x:20px;padding:0 var(--rp-nav-padding-x)0 var(--rp-nav-padding-x);top:var(--rp-banner-height,0px);z-index:var(--rp-z-index-nav);flex-shrink:0;justify-content:space-between;align-items:center;width:100%;display:flex;position:sticky;left:0}@media (min-width:1280px){.rp-nav{--rp-nav-padding-x:max(calc(( 100vw - var(--rp-content-max-width) - var(--rp-sidebar-width) - var(--rp-outline-width))/2),20px);padding:0 var(--rp-nav-padding-x)0 var(--rp-nav-padding-x)}}.rp-nav__left{display:flex}.rp-nav__title{flex-shrink:0}.rp-nav__title__link{align-items:center;width:100%;height:100%;font-size:1rem;font-weight:600;transition:opacity .3s;display:flex}.rp-nav__title__link:hover{opacity:.6}.rp-nav__title__logo{min-width:2rem;margin-right:.25rem}.rp-nav__title__logo-image{display:block}.rp-nav__title__logo-image--dark{display:none}.rp-nav__right{align-items:center;gap:24px;height:100%;display:flex}@media (max-width:767px){.rp-nav__right{gap:8px}}.rp-nav__others{align-items:center;gap:24px;height:100%;list-style:none;display:flex}@media (max-width:1280px){.rp-nav__others{display:none}}.rp-nav-menu{align-items:center;height:100%;list-style:none;display:inline-flex}@media (min-width:1280px){.rp-nav-menu{gap:32px}}@media (max-width:1279px){.rp-nav-menu{gap:24px}}.rp-nav-menu__item{justify-content:center;align-items:center;height:100%;display:flex;position:relative}.rp-nav-menu__item__container{cursor:pointer;text-align:center;justify-content:center;align-items:center;gap:2px;height:100%;font-size:14px;font-style:normal;font-weight:500;line-height:22px;display:flex}.rp-nav-menu__item__icon{justify-content:center;align-items:center;width:15px;height:15px;transition:transform .3s ease-in-out;display:flex}.rp-nav-menu__item:hover .rp-nav-menu__item__container{color:var(--rp-c-brand);text-align:center;font-size:14px;font-style:normal}.rp-nav-menu__item:hover .rp-nav-menu__item__icon{transform:rotate(180deg)}.rp-nav-menu__item--active .rp-nav-menu__item__container{color:var(--rp-c-brand);text-align:center;font-size:14px;font-style:normal}.rp-nav-menu__divider{background:var(--rp-c-divider);width:1px;height:15px}@media (max-width:1280px){.rp-nav-menu__divider{display:none}}.rp-nav-menu a[target=_blank]:after{content:"↗";color:var(--rp-c-text-3);margin-left:.5em;margin-right:.1em;font-size:.7em;font-weight:700;display:inline-block}@media (max-width:768px){.rp-nav-menu{display:none}}.rspress-logo{height:1.6rem}.dark .rp-nav__title__logo-image--light{display:none}.dark .rp-nav__title__logo-image--dark{display:block}.rp-nav-screen{top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));background-color:var(--rp-c-bg);width:100%;z-index:var(--rp-z-index-nav-screen);padding:24px 48px;display:none;position:fixed;bottom:0;left:0;right:0;overflow-y:auto}.rp-nav-screen--open{display:block}.rp-nav-screen__container{flex-direction:column;align-items:center;gap:2px;display:flex}.rp-nav-screen__others{display:flex}@media (max-width:1280px){.rp-nav-screen__others{display:none}}.rp-nav-screen-divider{background-color:var(--rp-c-divider-light);width:100%;height:1px;margin:1rem 0}.rp-nav-screen-appearance{border-radius:var(--rp-radius-small);justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;font-size:14px;display:flex}.rp-nav-screen-appearance__left,.rp-nav-screen-appearance__right{align-items:center;display:flex}.rp-nav-screen-appearance__icon{transition:transform .3s;transform:rotate(-90deg)}.rp-nav-screen-appearance__icon--open{transform:rotate(0)}.rp-nav-screen-langs{border-radius:var(--rp-radius-small);justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;font-size:14px;display:flex}.rp-nav-screen-langs__left{align-items:center;display:flex}.rp-nav-screen-langs__right{align-items:center;gap:4px;display:flex}.rp-nav-screen-langs__icon{transition:transform .3s;transform:rotate(-90deg)}.rp-nav-screen-langs__icon--open{transform:rotate(0)}.rp-nav-screen-langs-group{width:100%}.rp-nav-screen-langs-group__inner{flex-direction:column;align-items:flex-end;gap:8px;font-size:14px;display:flex;overflow:hidden}.rp-nav-screen-langs-group__item{padding:0 24px}.rp-nav-screen-langs-group__item--active{color:var(--rp-c-text-2);cursor:default;pointer-events:none}.rp-nav-screen-menu-item{border-radius:var(--rp-radius-small);cursor:pointer;justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;transition:background-color .25s ease-in;display:flex}.rp-nav-screen-menu-item:hover{background-color:var(--rp-c-bg-mute)}.rp-nav-screen-menu-item--active{color:var(--rp-c-brand);background-color:var(--rp-c-brand-tint);font-weight:600}.rp-nav-screen-menu-item__left,.rp-nav-screen-menu-item__right{font-size:14px;font-weight:500;line-height:22px}.rp-nav-screen-menu-item__icon{transition:transform .25s ease-in;transform:rotate(-90deg)}.rp-nav-screen-menu-item--open .rp-nav-screen-menu-item__icon{transform:rotate(0)}.rp-nav-screen-menu-item__group{width:100%}.rp-nav-screen-menu-item__group-inner{flex-direction:column;align-items:center;gap:2px;margin-left:8px;display:flex;overflow:hidden}.rp-nav-screen-menu-item.rp-link[target=_blank] .rp-nav-screen-menu-item__left:after{content:"↗";color:var(--rp-c-text-3);margin-left:.2em;margin-right:.1em;font-weight:400;transform:translateY(-.2em)}.rp-nav-screen-menu{flex-direction:column;align-items:center;display:flex}.rp-nav-screen-versions{border-radius:var(--rp-radius-small);justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;font-size:14px;display:flex}.rp-nav-screen-versions__left{align-items:center;display:flex}.rp-nav-screen-versions__right{align-items:center;gap:4px;display:flex}.rp-nav-screen-versions__icon{transition:transform .3s;transform:rotate(-90deg)}.rp-nav-screen-versions__icon--open{transform:rotate(0)}.rp-nav-screen-versions-group{flex-direction:column;align-items:flex-end;gap:8px;width:100%;height:0;font-size:14px;transition:height .3s;display:flex;overflow:hidden}.rp-nav-screen-versions-group__item{padding:0 24px}.rp-nav-screen-versions-group__item--active{color:var(--rp-c-text-2);cursor:default;pointer-events:none}.rp-nav-screen-versions-group--open{height:auto}.rp-nav-hamburger{cursor:pointer;background-color:#0000;border-radius:4px;padding:8px;transition:background-color .3s;display:none}@media (max-width:1280px) and (min-width:769px){.rp-nav-hamburger__md{display:block}}.rp-nav-hamburger__md__hover-group{flex-direction:column;justify-content:center;align-items:center;gap:8px;width:250px;padding:12px;display:flex}@media (max-width:768px){.rp-nav-hamburger__sm{display:block}}.rp-nav-hamburger:hover,.rp-nav-hamburger--active{background-color:var(--rp-c-bg-mute)}:root{--rp-outline-padding-x:20px}.rp-outline{border-left:1px solid var(--rp-c-divider-light);flex-direction:column;display:flex}.rp-outline__title{padding-left:var(--rp-outline-padding-x);padding-right:var(--rp-outline-padding-x);height:32px;color:var(--rp-c-text-1);align-items:center;gap:4px;margin-bottom:4px;font-size:14px;font-style:normal;font-weight:700;line-height:32px;display:inline-flex}@media (max-width:1280px){.rp-outline__title{display:none}}.rp-outline__divider{margin-left:var(--rp-outline-padding-x);margin-right:var(--rp-outline-padding-x);background:var(--rp-c-divider-light);height:1px;margin-top:16px;margin-bottom:16px}.rp-outline__toc{padding-left:var(--rp-outline-padding-x);padding-right:var(--rp-outline-padding-x);flex-direction:column;flex:1;display:flex}@media (max-width:1280px){.rp-outline__toc{max-height:60vh;overflow:auto scroll}}.rp-outline__bottom{padding-left:var(--rp-outline-padding-x);padding-right:var(--rp-outline-padding-x)}.rp-outline__scroll-to-top{cursor:pointer;color:var(--rp-c-text-2);background:0 0;border:none;align-items:center;gap:8px;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;display:flex}.rspress-overview-container{padding:var(--rp-content-padding-y)var(--rp-content-padding-x)}.rp-overview-search{justify-content:flex-start;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.rp-overview-search__label{color:var(--rp-c-text-1);white-space:nowrap;font-weight:500}.rp-overview-search__input{border:1px solid var(--rp-c-divider);background-color:var(--rp-c-bg);color:var(--rp-c-text-1);border-radius:8px;min-width:200px;padding:.5rem .75rem;font-size:.875rem;transition:box-shadow .25s ease-in-out,border-color .25s ease-in-out}.rp-overview-search__input:focus{border-color:var(--rp-c-brand);box-shadow:0 0 0 2px rgba(var(--rp-c-brand-rgb),.2);outline:none}.rp-overview-search__input::placeholder{color:var(--rp-c-text-3)}.rp-overview-search__input::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;opacity:.6;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 24 24%27 stroke=%27currentColor%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M6 18L18 6M6 6l12 12%27/%3E%3C/svg%3E");background-size:14px 14px;width:14px;height:14px}.rp-overview-search__input::-webkit-search-cancel-button:hover{opacity:1}.rp-overview__empty{text-align:center;color:var(--rp-c-text-2);background-color:var(--rp-c-bg-soft);border-radius:8px;margin-top:1rem;padding:2rem;font-style:italic}@media (prefers-color-scheme:dark){.rp-overview-search__input{border-color:var(--rp-c-divider-dark);background-color:var(--rp-c-bg-dark)}}:root{--rp-c-overview-group-bg:var(--rp-c-bg-soft);--rp-c-overview-group-bg-hover:color-mix(in srgb,var(--rp-c-brand-lighter)30%,transparent);--rp-c-overview-group-border:1px solid var(--rp-c-divider-light)}.rp-overview-group{flex-direction:column;gap:20px;width:100%;display:flex}.rp-overview-group__item{border:var(--rp-c-overview-group-border);border-radius:var(--rp-radius);flex-direction:row;width:100%;transition:border-color .2s,box-shadow .2s;display:flex;overflow:hidden}.rp-overview-group__item:hover{border-color:var(--rp-c-brand-light);box-shadow:0 4px 6px #0000000a}.rp-overview-group__item:hover .rp-overview-group__item__title{background-color:var(--rp-c-overview-group-bg-hover)}.rp-overview-group__item:hover .rp-overview-group__item__title .rp-overview-group__item__title__icon{color:var(--rp-c-brand-dark)}@media (max-width:1280px){.rp-overview-group__item{flex-direction:column}.rp-overview-group__item__title{flex:none!important;width:100%!important}}.rp-overview-group__item__title{word-break:break-all;width:25%;color:var(--rp-c-text-1);background-color:var(--rp-c-overview-group-bg);flex:0 0 25%;padding:16px 20px;font-size:18px;font-weight:600;transition:background-color .2s;position:relative;overflow:hidden}.rp-overview-group__item__title__link,.rp-overview-group__item__title__text{color:inherit;text-decoration:none}.rp-overview-group__item__title__link:hover,.rp-overview-group__item__title__text:hover{color:var(--rp-c-brand)}.rp-overview-group__item__title__icon{-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--rp-c-text-1);position:absolute;bottom:0;right:0}.rp-overview-group__item__content{flex-flow:wrap;flex:1;row-gap:20px;margin:0;padding:16px;list-style:none;display:flex}.rp-overview-group__item__content__item{word-break:break-all;flex:0 0 200px;width:200px;min-width:25%;max-width:25%}@media (min-width:769px) and (max-width:1280px){.rp-overview-group__item__content__item{min-width:33%;max-width:33%}}@media (max-width:768px){.rp-overview-group__item__content__item{flex:200px;min-width:50%;max-width:100%}}.rp-overview-group__item__content__item__link{color:var(--rp-c-text-2);padding:4px 8px;font-size:14px;text-decoration:none;transition:color .2s,background-color .2s;display:inline-block}.rp-overview-group__item__content__item__link:hover{color:var(--rp-c-brand);background-color:var(--rp-c-bg)}.rp-overview-group__grid{grid-template-columns:repeat(4,1fr);gap:20px;width:100%;display:grid}@media (max-width:1280px){.rp-overview-group__grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:768px){.rp-overview-group__grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.rp-overview-group__grid{grid-template-columns:1fr}}.rp-overview-group__grid-item{border:1px solid var(--rp-c-divider-light);border-radius:var(--rp-radius);transition:border-color .2s,box-shadow .2s,background-color .2s}.rp-overview-group__grid-item.rp-overview-group__item__title{flex:none;width:100%}.rp-overview-group__grid-item:hover{border-color:var(--rp-c-brand-light);background-color:var(--rp-c-overview-group-bg-hover);box-shadow:0 4px 6px #0000000a}.rp-overview-group__grid-item:hover .rp-overview-group__item__title__icon{color:var(--rp-c-brand-dark)}html.rp-dark .rp-overview-group__item:hover .rp-overview-group__item__title__icon,html.rp-dark .rp-overview-group__grid-item:hover .rp-overview-group__item__title__icon{color:#fff}.rp-prev-next-page{justify-content:space-between;align-self:stretch;align-items:center;display:flex}.rp-prev-next-page__item{cursor:pointer;border-radius:8px;flex-direction:column;flex:1;justify-content:center;padding:12px;display:flex}.rp-prev-next-page__item__title{align-items:center;gap:.25rem;display:flex}.rp-prev-next-page__item__desc{color:var(--rp-c-text-3);padding:0 1.25rem;font-size:.75rem;font-style:normal;font-weight:400;line-height:20px;display:block}.rp-prev-next-page__item:hover{opacity:.7;background-color:var(--rp-c-bg-mute)}.rp-prev-next-page__icon{font-size:1rem;display:inline-flex}.rp-prev-next-page__placeholder{flex:1}.rp-prev-next-page__prev{align-items:flex-start}.rp-prev-next-page__next{align-items:flex-end}.rp-prev-next-page__rotate_180{transform:rotate(180deg)}.rp-progress-circle{display:inline-flex}.rp-search-button{border-radius:var(--rp-radius-small);background-color:color-mix(in srgb,var(--rp-c-bg)30%,transparent);-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);border:1px solid var(--rp-c-divider-light);cursor:pointer;justify-content:space-between;align-items:center;min-width:140px;height:40px;padding:0 10px;font-size:13px;transition:border-color .3s;display:flex}.rp-search-button:hover{border:1px solid var(--rp-c-brand)}.rp-search-button:hover .rp-search-button__word{color:var(--rp-c-text-1)}.rp-search-button__content{word-break:keep-all;align-items:center;gap:4px;font-size:14px;display:flex}.rp-search-button__word{white-space:nowrap;color:var(--rp-c-text-2);font-weight:500}.rp-search-button__icon{font-size:20px;display:inline-block}.rp-search-button__hotkey{background-color:var(--rp-c-bg-soft);border-radius:var(--rp-radius-small);color:var(--rp-c-gray);padding:0 8px;font-weight:500;transition:opacity .3s}.rp-search-button--mobile{cursor:pointer;justify-content:center;align-items:center;font-weight:500;display:none}@media (max-width:768px){.rp-search-button{display:none}.rp-search-button--mobile{display:flex}}.rp-no-search-result{flex-direction:column;align-items:center;padding-top:2rem;padding-bottom:.5rem;display:flex}.rp-no-search-result__icon{opacity:.8;margin-bottom:1rem}.rp-no-search-result__text{margin-bottom:.5rem}.rp-no-search-result__suggestion{margin:0}.rp-search-panel__mask{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:100;background:#3c3c3c66;position:fixed;top:0;bottom:0;left:0;right:0}.rp-search-panel__modal{background-color:var(--rp-c-bg-soft);border-radius:var(--rp-radius);max-width:560px;height:auto;margin:80px auto auto;padding:20px;position:relative}.rp-search-panel__header{align-items:center;display:flex}.rp-search-panel__cancel{color:var(--rp-c-brand);cursor:pointer;margin-left:.5rem}@media (min-width:640px){.rp-search-panel__cancel{display:none}}.rp-search-panel__input-form{background-color:var(--rp-c-bg);border:1px solid var(--rp-c-brand);border-radius:var(--rp-radius-small);align-items:center;width:100%;height:55px;padding:0 12px;display:flex}.rp-search-panel__input{background-color:var(--rp-c-bg);outline:none;flex:1;width:80%;height:100%;padding-left:8px;font-size:20px;font-weight:500}.dark .rp-search-panel__input{color:var(--rp-c-text)}.rp-search-panel__close:hover{cursor:pointer;color:var(--rp-c-brand);transition:color .3s}.rp-search-panel__results{max-height:calc(100vh - 230px);padding-right:2px;overflow:scroll}.rp-search-panel__loading{opacity:.8;flex-direction:column;align-items:center;margin:2rem 0;display:flex}.rp-search-panel__tabs{background-color:var(--rp-c-bg-soft);padding-bottom:6px;position:sticky}.rp-search-panel__tabs.rp-tabs{border:none;border-radius:0;margin:0}.rp-search-panel__group{padding-bottom:.5rem}@media (max-width:960px){.rp-search-panel__modal{margin-top:0}.rp-search-panel__input-form{height:40px}.rp-search-panel__input-form svg{width:16px;height:16px}.rp-search-panel__input{font-size:16px}}.rp-suggest-item{box-sizing:border-box;margin:5px 2px;list-style:none}.dark .rp-suggest-item,.dark .rp-suggest-item .rp-suggest-item__link{box-shadow:none}.rp-suggest-item .rp-suggest-item__link{color:var(--rp-c-text-1);background-color:var(--rp-c-bg);border-radius:var(--rp-radius-small);width:100%;padding-left:12px;display:flex;box-shadow:0 1px 3px #d4d9e1}.rp-suggest-item--current .rp-suggest-item__link{background-color:var(--rp-c-brand);cursor:pointer;color:#fff}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__icon{color:#fff}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__action-icon{opacity:1}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__content .rp-suggest-item__statement{color:#fff}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__content .rp-suggest-item__mark{color:#fff;text-decoration:underline}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__content .rp-suggest-item__title{color:#fff}.rp-suggest-item__container{align-items:center;width:100%;min-height:56px;padding-right:12px;font-weight:500;display:flex}.rp-suggest-item__icon{color:var(--rp-c-gray-light-1)}.rp-suggest-item__content{width:100%;padding:6px 8px;font-size:14px;line-height:1.5}.rp-suggest-item__header{font-weight:500}.rp-suggest-item__statement{width:100%;font-size:.875rem}.rp-suggest-item__mark{color:var(--rp-c-brand)}.rp-suggest-item__title{color:var(--rp-c-gray-light-1);font-size:12px;font-weight:600}.rp-suggest-item__action-icon{opacity:0}.rp-sidebar-divider{border-top:1px solid var(--rp-c-divider-light);margin-top:.75rem;margin-bottom:.75rem}.rp-sidebar-divider--dashed{border-top:1px dashed var(--rp-c-divider-light);margin-top:.75rem;margin-bottom:.75rem}.rp-sidebar-group{color:var(--rp-c-text-1)}.rp-sidebar-item{cursor:pointer;color:var(--rp-c-text-2);border-radius:8px;justify-content:space-between;align-items:center;margin-top:2px;padding:6px 12px;font-size:14px;font-weight:400;line-height:24px;transition:color .15s,background-color .15s;display:flex;position:relative}.rp-sidebar-item:first-child{margin-top:0}.rp-sidebar-item:hover,.rp-sidebar-item--pending{color:var(--rp-c-text-1);background-color:var(--rp-c-bg-mute)}.rp-sidebar-item--pending{opacity:.8}.rp-sidebar-item.rp-link[target=_blank]:after{content:"↗";margin-left:.2em;margin-right:.1em;font-size:1em;font-weight:400;transition:transform .2s;display:inline-block;transform:translateY(-.2em)}.rp-sidebar-item--active{color:var(--rp-c-link);background-color:var(--rp-c-brand-tint);font-weight:600}.rp-sidebar-item--active:hover{color:var(--rp-c-link);background-color:var(--rp-c-brand-tint)}.rp-sidebar-item--group-item:before{content:"";background-color:var(--rp-c-divider-light);width:1px;position:absolute;top:0;bottom:0;left:12px}.rp-sidebar-item--group-item.rp-sidebar-item--active .rp-sidebar-item__left:before{content:"";background-color:var(--rp-c-brand);width:1px;height:calc(50% - 4px);position:absolute;top:calc(25% + 2px);bottom:0;left:12px}.rp-sidebar-item__left{align-items:center;gap:4px;display:flex}.rp-sidebar-item__right{align-items:center;display:flex}.rp-sidebar-item__link{opacity:1}.rp-sidebar-section-header{justify-content:space-between;align-items:center;margin-top:16px;padding:4px 12px;display:flex}.rp-sidebar-section-header:first-child{margin-top:0}.rp-sidebar-section-header__left{color:var(--rp-c-text-1);align-items:center;font-size:14px;font-weight:600;display:flex}.rp-sidebar-section-header__right{align-items:center;display:flex}.rp-social-links{align-items:center;gap:24px;height:100%;min-height:40px;display:flex;position:relative}.rp-social-links__item{justify-content:center;align-items:center;height:100%;display:flex;position:relative}.rp-social-links__item__hover-group{width:auto}.rp-social-links__item__text{word-break:keep-all;white-space:nowrap}.rp-social-links__icon{width:20px;height:20px;color:var(--rp-c-text-2);align-items:center;display:flex}.rp-social-links__icon:hover{color:var(--rp-c-text-1)}.rp-social-links__hidden{flex-wrap:nowrap;gap:1rem;display:flex}.rp-tabs{contain:content;border-radius:var(--rp-radius);border:var(--rp-code-block-border);box-shadow:var(--rp-code-block-shadow);margin:1rem 0}.rp-tabs .rp-tabs,.rp-tabs .rp-codeblock{border:none;border-radius:0;margin:0}.rp-tabs .rp-codeblock .rp-codeblock__title{padding:8px 12px}.rp-tabs__label{background-color:var(--rp-code-title-bg);border-bottom:var(--rp-code-block-border);flex-wrap:wrap;min-width:100%;padding:4px 12px;display:flex}.rp-tabs__label--no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.rp-tabs__label--no-scrollbar::-webkit-scrollbar{display:none}.rp-tabs__label__item{word-break:keep-all;color:var(--rp-c-text-2);box-sizing:border-box;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:var(--rp-radius-small);margin-right:4px;padding:4px 12px;font-size:.875rem;transition:color .2s ease-out,background-color .2s ease-out;position:relative}.rp-tabs__label__item:last-child{margin-right:0}.rp-tabs__label__item--not-selected:hover{background-color:var(--rp-c-bg-mute)}.rp-tabs__label__item--selected{color:var(--rp-c-text-0);background-color:var(--rp-c-bg);box-shadow:0px 0px 3px 0px var(--rp-c-divider)}.rp-tabs__content__item--active{display:block}.rp-tabs__content__item--hidden{display:none}.dark .rp-tabs__label__item--selected{background-color:var(--rp-c-bg-soft)}.rp-toc-item{justify-content:flex-start;align-self:stretch;align-items:flex-start;margin-top:10px;line-height:1.4;display:block;position:relative}.rp-toc-item:first-child{margin-top:0}.rp-toc-item__text{color:var(--rp-c-text-2);overflow-wrap:break-word;font-size:14px;font-weight:400}.rp-toc-item--active .rp-toc-item__text,.rp-toc-item--active .rp-toc-item__text code{color:var(--rp-c-link)}.rp-toc-item--active:before{content:"";background-color:var(--rp-c-brand);width:1px;height:100%;left:calc(-1*var(--rp-outline-padding-x));display:block;position:absolute;top:0}.rp-sidebar-menu{background-color:var(--rp-c-bg);border-bottom:1px solid var(--rp-c-divider-light);justify-content:space-between;align-items:center;width:100%;height:100%;padding:0 20px;font-size:14px;font-style:normal;font-weight:600;display:flex}.rp-sidebar-menu__left,.rp-sidebar-menu__right{background:0 0;align-items:center;gap:8px;height:100%;display:flex}@media (min-width:1280px){.rp-sidebar-menu{display:none}}.rp-sidebar-menu__mask{z-index:var(--rp-z-index-mask);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background-color:color-mix(in srgb,var(--rp-c-bg)60%,transparent);display:none;position:fixed;top:0;bottom:0;left:0;right:0}@media (max-width:767px){.rp-sidebar-menu__mask{display:block}}:root{--rp-z-index-nav-screen:70;--rp-z-index-nav:60;--rp-z-index-mask:20;--rp-z-index-sidebar:50;--rp-z-index-sidebar-menu:30;--rp-z-index-aside:40;--rp-nav-height:64px;--rp-sidebar-width:320px;--rp-sidebar-menu-height:46px;--rp-sidebar-padding:20px;--rp-outline-width:268px;--rp-content-padding-x:80px;--rp-content-padding-y:48px;--rp-content-max-width:1000px;--rp-sidebar-margin-left:calc(max(0px,calc((100vw - var(--rp-content-max-width))/2 - var(--rp-sidebar-width))));--rp-outline-margin-right:calc(max(0px,calc((100vw - var(--rp-content-max-width))/2 - var(--rp-outline-width))))}@media (min-width:1280px){html:root{--rp-sidebar-menu-height:0px}}.rp-doc-layout__container{flex-direction:row;justify-content:flex-start;width:100%;margin:0;padding:0;display:flex;position:relative}.rp-doc-layout__doc{flex-direction:column;width:100%;display:flex;position:relative;overflow-x:auto}.rp-doc-layout__overview{width:100%;max-width:min(100%,1280px);padding:var(--rp-content-padding-y)var(--rp-content-padding-x);position:relative;overflow-x:auto}.rp-doc-layout__sidebar{width:var(--rp-sidebar-width);max-width:var(--rp-sidebar-width);min-width:var(--rp-sidebar-width);height:calc(100vh - var(--rp-nav-height) - var(--rp-banner-height,0px));max-height:calc(100vh - var(--rp-nav-height) - var(--rp-banner-height,0px));padding:var(--rp-sidebar-padding);border-right:1px solid var(--rp-c-divider-light);margin-top:calc(-1*var(--rp-sidebar-menu-height));top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));z-index:var(--rp-z-index-sidebar);background:var(--rp-c-bg);position:sticky;bottom:0;left:0;overflow:auto scroll}.rp-doc-layout__doc-container{padding:var(--rp-content-padding-y)var(--rp-content-padding-x)}.rp-doc-layout__outline{width:var(--rp-outline-width);top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));margin-top:var(--rp-sidebar-menu-height);z-index:var(--rp-z-index-aside);padding-top:var(--rp-content-padding-y);scrollbar-width:none;max-height:calc(100vh - var(--rp-nav-height) - var(--rp-banner-height,0px));box-shadow:var(--rp-shadow-1);position:sticky;right:0;overflow:hidden scroll}.rp-doc-layout__menu{top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));z-index:var(--rp-z-index-sidebar-menu);height:var(--rp-sidebar-menu-height);position:sticky;left:0}.rp-doc-layout__menu__placeholder{width:100%;height:var(--rp-sidebar-menu-height);min-height:var(--rp-sidebar-menu-height);display:block}@media (min-width:1280px){.rp-doc-layout__doc{max-width:min(100%,var(--rp-content-max-width));flex:1;overflow-x:auto}.rp-doc-layout__doc--wide{max-width:min(100%,var(--rp-content-max-width) + var(--rp-sidebar-width) + var(--rp-outline-width))}.rp-doc-layout__sidebar{margin-left:var(--rp-sidebar-margin-left)}.rp-doc-layout__sidebar-placeholder{width:var(--rp-sidebar-width);margin-left:var(--rp-sidebar-margin-left)}.rp-doc-layout__outline{margin-right:var(--rp-outline-margin-right);padding-bottom:var(--rp-content-padding-y)}.rp-doc-layout__outline-placeholder{width:var(--rp-outline-width);margin-right:var(--rp-outline-margin-right)}}@media (max-width:1279px){:root{--rp-content-padding-x:36px;--rp-content-padding-y:48px}.rp-doc-layout__outline{background-color:color-mix(in srgb,var(--rp-c-bg)60%,transparent);-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);border-radius:var(--rp-radius-small);max-width:100%;box-shadow:var(--rp-shadow-2);visibility:hidden;opacity:0;padding:20px 0;transition:opacity .2s,transform .2s cubic-bezier(.19,1,.22,1);position:fixed;transform:translateY(-10px)}.rp-doc-layout__outline:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.rp-doc-layout__outline:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.rp-doc-layout__outline:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.rp-doc-layout__outline--open{opacity:1;visibility:visible;display:block;transform:translate(0,0)}}@media (max-width:768px){:root{--rp-content-padding-x:24px}.rp-doc-layout__sidebar{z-index:var(--rp-z-index-sidebar);top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));height:calc(100vh - var(--rp-nav-height));padding:var(--rp-sidebar-padding)var(--rp-sidebar-padding)calc(var(--rp-sidebar-padding) + 100px)var(--rp-sidebar-padding);background:var(--rp-c-bg);opacity:0;margin-top:0;transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1);position:fixed;overflow:auto scroll;transform:translate(-100%)}.rp-doc-layout__sidebar--open{opacity:1;visibility:visible;left:0;transform:translate(0,0)}}.rp-not-found{text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;margin:0 auto;padding:4rem;display:flex}@media (max-width:640px){.rp-not-found{padding:6rem 2rem 10rem}}.rp-not-found__error-code{font-size:3.75rem;font-weight:600}.rp-not-found__title{padding-top:.75rem;font-size:1.25rem;font-weight:700;line-height:1.25}.rp-not-found__divider{background-color:var(--rp-c-gray-light-1);width:4rem;height:1px;margin:1.5rem auto 1.125rem}.rp-not-found__action{padding-top:1.25rem}.rp-not-found__home-link{border-style:solid;border-width:1px;border-color:var(--rp-c-brand);color:var(--rp-c-brand);border-radius:1rem;padding:.5rem 1rem;font-weight:500;transition:color .3s,border-color .3s;display:inline-block}.rp-not-found__home-link:hover{border-color:var(--rp-c-brand-dark);color:var(--rp-c-brand-dark)}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:999} \ No newline at end of file diff --git a/static/css/styles.b6177838.css b/static/css/styles.b6177838.css deleted file mode 100644 index 0416aba8..00000000 --- a/static/css/styles.b6177838.css +++ /dev/null @@ -1 +0,0 @@ -#nprogress{pointer-events:none}#nprogress .bar{z-index:1031;background:#29d;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{opacity:1;width:100px;height:100%;display:block;position:absolute;right:0;transform:rotate(3deg)translateY(-4px);box-shadow:0 0 10px #29d,0 0 5px #29d}#nprogress .spinner{z-index:1031;display:block;position:fixed;top:15px;right:15px}#nprogress .spinner-icon{box-sizing:border-box;border:2px solid #0000;border-color:#29d #0000 #0000 #29d;border-radius:50%;width:18px;height:18px;animation:.4s linear infinite nprogress-spinner}.nprogress-custom-parent{position:relative;overflow:hidden}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:where(:root){--rp-c-brand:#0095ff;--rp-c-brand-light:#33adff;--rp-c-brand-lighter:#c6e0fd;--rp-c-brand-dark:#07f;--rp-c-brand-darker:#005fcc;--rp-c-brand-tint:#7fa3ff29}:where(html:not(.rp-dark)){--shiki-foreground:inherit;--shiki-background:transparent;--shiki-token-constant:#1976d2;--shiki-token-string:#31a94d;--shiki-token-comment:#b6b4b4;--shiki-token-keyword:#cf2727;--shiki-token-parameter:#f59403;--shiki-token-function:#7041c8;--shiki-token-string-expression:#218438;--shiki-token-punctuation:#242323;--shiki-token-link:#22863a;--shiki-token-deleted:#d32828;--shiki-token-inserted:#22863a}:where(html.rp-dark){--shiki-foreground:inherit;--shiki-background:transparent;--shiki-token-constant:#6fb0fa;--shiki-token-string:#f9a86e;--shiki-token-comment:#6a727b;--shiki-token-keyword:#f47481;--shiki-token-parameter:#ff9800;--shiki-token-function:#ae8eeb;--shiki-token-string-expression:#4fb74d;--shiki-token-punctuation:#bbb;--shiki-token-link:#f9a76d;--shiki-token-deleted:#ee6d7a;--shiki-token-inserted:#36c47f}:where(html:not(.rp-dark)){--rp-code-font-size:.875rem;--rp-code-title-bg:#f8f8f9;--rp-code-block-color:#2e3440;--rp-code-block-bg:var(--rp-c-bg);--rp-code-block-border:1px solid var(--rp-c-divider-light);--rp-code-block-shadow:none}:where(html.rp-dark){--rp-code-font-size:.875rem;--rp-code-title-bg:#191919;--rp-code-block-color:#e5e7eb;--rp-code-block-bg:var(--rp-c-bg);--rp-code-block-border:1px solid var(--rp-c-divider-light);--rp-code-block-shadow:none}:where(html:not(.rp-dark)){--rp-home-hero-secondary-color:#a673ff;--rp-home-hero-title-color:transparent;--rp-home-hero-title-bg:linear-gradient(90deg,var(--rp-c-brand-dark)0%,var(--rp-c-brand-dark)30%,var(--rp-home-hero-secondary-color)100%);--rp-home-background-bg:radial-gradient(42.12% 56.13% at 100% 0%,#537dff1a 0%,#fff0 100%),radial-gradient(42.01% 79.63% at 52.86% 0%,#537dff33 0%,#fff0 100%),radial-gradient(79.67% 58.09% at 0% 0%,#7e69ff33 0%,#fff0 100%),#fff;--rp-home-feature-bg:linear-gradient(135deg,#fff,#f9f9f980)}:where(html.rp-dark){--rp-home-hero-secondary-color:#a673ff;--rp-home-hero-title-color:transparent;--rp-home-hero-title-bg:linear-gradient(90deg,var(--rp-c-brand-dark)0%,var(--rp-c-brand-dark)30%,var(--rp-home-hero-secondary-color)100%);--rp-home-background-bg:radial-gradient(42.12% 56.13% at 100% 0%,#0c1d48 0%,#12121200 100%),radial-gradient(55.81% 87.78% at 48.37% 0%,#000 0%,#12121200 89.55%),radial-gradient(122.65% 88.24% at 0% 0%,#34268a 0%,#12121200 100%),#121212;--rp-home-feature-bg:linear-gradient(135deg,#fff0,#ffffff08)}:where(html:not(.rp-dark)){--rp-c-bg:#fff;--rp-c-bg-soft:#f8f8f9;--rp-c-bg-mute:#f1f1f1;--rp-c-bg-alt:#fff;--rp-c-divider:#00000040;--rp-c-divider-light:#0000001f;--rp-c-text-0:#000;--rp-c-text-1:#242424;--rp-c-text-2:#000000b3;--rp-c-text-3:#3c3c3c54;--rp-c-text-4:#3c3c3c2e;--rp-c-text-code:#476582;--rp-c-text-code-bg:#99a1b314;--rp-c-text-code-border:#0000000d;--rp-c-link:var(--rp-c-brand-dark)}:where(html.rp-dark){--rp-c-bg:#121212;--rp-c-bg-soft:#292e37;--rp-c-bg-mute:#343a46;--rp-c-bg-alt:#000;--rp-c-divider:#545454a6;--rp-c-divider-light:#5454547a;--rp-c-text-0:#fff;--rp-c-text-1:#fffff5ed;--rp-c-text-2:#fffff5a6;--rp-c-text-3:#ebebeb61;--rp-c-text-4:#ebebeb2e;--rp-c-text-code:#c9def1;--rp-c-text-code-bg:#ffffff14;--rp-c-text-code-border:#ffffff0d;--rp-c-link:var(--rp-c-brand-light)}:where(:root){--rp-c-gray:#8e8e8e;--rp-c-gray-light-1:#aeaeae;--rp-c-gray-light-2:#c7c7c7;--rp-c-gray-light-3:#d1d1d1;--rp-c-gray-light-4:#e5e5e5;--rp-c-gray-light-5:#f2f2f2;--rp-shadow-1:0 1px 2px #00000005,0 1px 0 #0000000f;--rp-shadow-2:0 3px 12px #0000000f,0 1px 4px #00000012;--rp-shadow-3:0 12px 32px #0000001a,0 2px 6px #00000014;--rp-shadow-4:0 14px 44px #0000001f,0 3px 9px #0000001f;--rp-shadow-5:0 18px 56px #00000029,0 4px 12px #00000029;--rp-radius:1rem;--rp-radius-small:.5rem;--rp-radius-large:1.5rem}@layer rp-base{*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-size:1em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}button:focus{outline:none}button:focus-visible{outline:none}}html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--rp-banner-height,0px) + var(--rp-nav-height) + var(--rp-sidebar-menu-height));font-size:16px;line-height:1.7}html.dark{--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{width:100%;min-width:320px;font-family:var(--rp-font-family-base);color:var(--rp-c-text-1);background-color:var(--rp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:ltr;margin:0;font-size:16px;font-weight:400}:root{--rp-font-family-base:"Inter var experimental","Inter var",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--rp-font-family-mono:Menlo,Monaco,Consolas,"Courier New",monospace;text-autospace:normal}:root #nprogress .bar{background:var(--rp-c-brand)}.rp-scrollbar{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#0000000d #0000}.rp-scrollbar::-webkit-scrollbar{width:4px;height:4px}.rp-scrollbar::-webkit-scrollbar-track{background:0 0}.rp-scrollbar::-webkit-scrollbar-thumb{background:#0000000d;border-radius:4px;transition:background .2s}.rp-scrollbar::-webkit-scrollbar-thumb:hover{background:#0000001a}.rp-scrollbar::-webkit-scrollbar-corner{background:0 0}.rp-dark .rp-scrollbar{scrollbar-color:#ffffff1a #0000}.rp-dark .rp-scrollbar::-webkit-scrollbar-thumb{background:#ffffff1a}.rp-dark .rp-scrollbar::-webkit-scrollbar-thumb:hover{background:#fff3}.rp-scrollbar--always{scrollbar-gutter:stable;scrollbar-width:unset;scrollbar-color:unset}.shiki span.line{padding:0 1.25rem;display:inline-block}.code-line-highlighted{background-color:var(--rp-code-line-highlight-color)}.diff,.code-line-highlighted{width:100%;padding:0 20px;transition:background-color .5s;display:inline-block;position:relative}.diff.add:after{content:"+";color:#4fb74d;position:absolute;top:0;left:10px}.diff.remove:after{content:"-";color:#f47481;position:absolute;top:0;left:10px}.shiki.has-diff code .diff.add{background-color:#10b9811a;padding:0 20px 0 19px}.shiki.has-diff code .diff.remove{background-color:#f43f5e1a;padding:0 20px 0 19px}.shiki.has-highlighted .line.highlighted{width:100%;display:inline-block;position:static}.shiki.has-highlighted .line.highlighted:not(.error):not(.warning){background-color:#3b82f61a;box-shadow:inset 2px 0 #3b82f6}.shiki.has-highlighted .line.highlighted.error{background-color:#ed3c501a;box-shadow:inset 2px 0 #ed3c50}.shiki.has-highlighted .line.highlighted.warning{background-color:#ffc5171a;box-shadow:inset 2px 0 #ffc517}.shiki.has-focused .line:not(.focused){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.shiki.has-focused:hover .line:not(.focused){filter:blur();opacity:1}.pre-release-banner{background:linear-gradient(90deg,var(--rp-c-brand-darker)0%,var(--rp-c-brand)100%);color:#fff;text-align:center;padding:.5rem 1rem;font-size:.875rem}.pre-release-banner strong{font-weight:600}.old-version-banner{background:linear-gradient(90deg,var(--rp-c-brand-darker)0%,var(--rp-c-brand)100%);color:#fff;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem .5rem;padding:.5rem 1rem;font-size:.875rem;display:flex}.old-version-banner strong{font-weight:600}.old-version-banner-link{white-space:nowrap;text-underline-offset:2px;font-weight:500;text-decoration:underline;color:#fff!important}.old-version-banner-link:hover{opacity:.85;color:#fff!important}:root{--rp-nav-height:60px!important;--rp-sidebar-width:320px!important;--rp-aside-width:268px!important;--rp-c-bg:#fff!important;--rp-c-bg-soft:#f6f6f7!important;--rp-c-bg-mute:#ececec!important;--rp-c-divider:#3c3c3c4a!important;--rp-c-divider-light:#3c3c3c1f!important;--rp-c-text-1:#323232!important;--rp-c-text-2:#323232cc!important;--rp-c-text-3:#32323299!important;--rp-c-text-4:#32323266!important;--rp-c-text-code:var(--rp-c-brand-dark)!important;--rp-c-brand:#9b6dff!important;--rp-c-brand-light:#b89dff!important;--rp-c-brand-lighter:#d4c8ff!important;--rp-c-brand-dark:#7f58cc!important;--rp-c-brand-darker:#604399!important;--rp-c-brand-tint:#9b6dff1a!important;--rp-c-gray:#8e8e8e!important;--rp-c-gray-light-1:#aeaeae!important;--rp-c-gray-light-2:#c7c7c7!important;--rp-c-gray-light-3:#d1d1d1!important;--rp-c-gray-light-4:#e5e5e5!important;--rp-c-gray-light-5:#f2f2f2!important;--rp-c-dark:#000!important;--rp-c-dark-light-1:#2f2f2f!important;--rp-c-dark-light-2:#3a3a3a!important;--rp-c-dark-light-3:#4a4a4a!important;--rp-c-dark-light-4:#5c5c5c!important;--rp-c-dark-light-5:#6b6b6b!important;--rp-radius:1rem!important;--rp-radius-small:.5rem!important;--rp-radius-large:1.5rem!important}.dark{--rp-c-bg:#161618!important;--rp-c-bg-soft:#1b1b1f!important;--rp-c-bg-mute:#65758529!important;--rp-c-divider-light:#65758529!important;--rp-c-text-1:#dde1e6!important;--rp-c-text-2:#b2b8bf!important;--rp-c-text-3:#878c92!important;--rp-c-text-4:#5c6166!important;--rp-c-text-code:var(--rp-c-brand-light)!important}:root,.dark{--rp-code-block-bg:var(--rp-c-bg-soft);--rp-code-title-bg:var(--rp-c-bg-mute)}:root{--rp-container-details-border:gray!important;--rp-container-details-text:#666!important;--rp-container-details-bg:#8080801a!important;--rp-container-details-code-bg:#80808026!important;--rp-container-info-border:var(--rp-c-brand)!important;--rp-container-info-text:var(--rp-c-brand-dark)!important;--rp-container-info-bg:#9b6dff1a!important;--rp-container-info-code-bg:#9b6dff26!important;--rp-container-warning-border:#ffc517!important;--rp-container-warning-text:#ad850e!important;--rp-container-warning-bg:#ffc5171a!important;--rp-container-warning-code-bg:#ffc51726!important;--rp-container-danger-border:#ed3c50!important;--rp-container-danger-text:#ab2131!important;--rp-container-danger-bg:#ed3c501a!important;--rp-container-danger-code-bg:#ed3c5026!important}.dark{--rp-container-details-text:var(--rp-text-1)!important;--rp-container-info-text:var(--rp-text-1)!important;--rp-container-warning-text:var(--rp-text-1)!important;--rp-container-danger-text:var(--rp-text-1)!important}:root{--rp-home-feature-bg:var(--rp-c-bg-soft)!important;--rp-home-feature-hover-bg:var(--rp-c-bg-mute)!important}.dark{--rp-home-feature-bg:var(--rp-c-bg-mute)!important;--rp-home-feature-hover-bg:var(--rp-c-bg-soft)!important}.rspress-nav{background-color:var(--rp-c-bg-soft)!important;border-bottom:1px solid var(--rp-c-divider-light)!important}.rspress-sidebar-group:before{content:none}.rspress-sidebar-group>div>a>div{padding-top:.3rem;padding-bottom:.3rem;background-color:#0000!important;font-size:14px!important}.rspress-sidebar-group>div>a>div:hover{color:var(--rp-c-brand)!important}.rspress-sidebar-group>div>a>div:before{content:none}.rspress-sidebar-group>div>section>div{background-color:#0000!important}.rspress-sidebar-group>div>section>div>h2{font-size:14px!important}.rspress-sidebar-group>div>section>div:hover{color:var(--rp-c-brand)!important}.rspress-sidebar{border-right:1px solid var(--rp-c-divider-light)!important;margin-right:12px!important}.rspress-sidebar>div{padding-right:0!important}.rspress-scrollbar>nav>section>div:first-child{background-color:#0000!important}.rspress-scrollbar>nav>section>div:first-child:hover{color:var(--rp-c-brand)!important}.rspress-scrollbar>nav>a>div:first-child{background-color:#0000!important}.rspress-scrollbar>nav>a>div:first-child:before{content:none}.rspress-scrollbar>nav>a>div:first-child:hover{color:var(--rp-c-brand)!important}.rspress-sidebar-section-header>span{font-weight:700;font-size:15px!important}#aside-container{padding-left:1rem;border-left:1px solid var(--rp-c-divider-light)!important}.home-hero-name-img{margin:1.5rem auto}div:has(>p.rspress-home-hero-text){align-items:stretch}a:has(>span.home-hero-primary-action){background:var(--rp-c-brand)!important}:not([id=search-container])>div[class^=mask]{background-image:conic-gradient(from 180deg at 50% 50%,var(--rp-c-brand)0deg,180deg,var(--rp-c-brand-darker)1turn);display:block!important}p.rspress-home-hero-text{font-size:1.35rem}@media (min-width:370px){p.rspress-home-hero-text{font-size:1.5rem}}@media (min-width:640px){p.rspress-home-hero-text{font-size:2rem}}@media (min-width:768px){p.rspress-home-hero-text{font-size:3rem}}[class*=heroImage-]{width:96px!important;min-width:96px!important;height:96px!important;min-height:96px!important}@media (min-width:640px){[class*=heroImage-]{width:120px!important;min-width:120px!important;height:120px!important;min-height:120px!important}}@media (min-width:768px){[class*=heroImage-]{width:144px!important;min-width:144px!important;height:144px!important;min-height:144px!important}}[class*=featureIcon-]{font-size:1.5rem!important;line-height:1!important}@media (min-width:640px){[class*=featureIcon-]{font-size:1.75rem!important}}@media (min-width:768px){[class*=featureIcon-]{font-size:2rem!important}}@font-face{font-family:Fira Code;font-style:normal;font-weight:400;font-display:block;src:url(/react-native-testing-library/static/font/FiraCode-Regular.0977d761.ttf)format("truetype")}@font-face{font-family:Fira Code;font-style:normal;font-weight:500;font-display:block;src:url(/react-native-testing-library/static/font/FiraCode-Medium.ce4b9190.ttf)format("truetype")}@font-face{font-family:"Alliance No. 2";font-style:normal;font-weight:400;font-display:swap;src:url(https://assets.callstack.com/alliance-no-2-regular.woff2)format("woff2")}@font-face{font-family:"Alliance No. 2";font-style:normal;font-weight:500;font-display:swap;src:url(https://assets.callstack.com/alliance-no-2-medium.woff2)format("woff2")}:root{--ck-header-font-family:"Alliance No. 2",Arial,sans-serif;--ck-background-primary:#fff;--ck-border-primary:#cfced5;--ck-border-secondary:#e9e7ee;--ck-foreground-primary:#f9f8fd;--ck-foreground-secondary:#e9e7ee;--ck-text-primary:#201f24;--ck-text-secondary:#838289;--ck-text-tertiary:#bcbbc2;--ck-accent:#8232ff;--ck-accent-bg:#8232ff29;--ck-warning:#ffb14c;--ck-warning-bg:#ffb14c29;--ck-danger:#fa7171;--ck-danger-bg:#fa717129;--ck-success:#2fc717;--ck-success-bg:#2fc71729;--ck-note:#838289;--ck-note-bg:#83828929;--ck-neutral-darkest:#201f24}.dark{--ck-background-primary:#201f24;--ck-border-primary:#424145;--ck-border-secondary:#636266;--ck-foreground-primary:#2b2a2f;--ck-foreground-secondary:#838289;--ck-text-primary:#fff;--ck-text-secondary:#cfced5;--ck-accent-code-highlight:#8232ff33}:root{--ck-bg-radial-1:radial-gradient(ellipse calc(5*100vw)100vw at 100% 0%,#8232ff80 0%,transparent 30%,transparent 100%);--ck-bg-radial-2:radial-gradient(ellipse calc(5*100vw)100vw at 100% 100%,#8232ff80 0%,transparent 15%,transparent 100%);--ck-bg-radial-3:radial-gradient(ellipse 100vw 50vw at 0% 100%,#8232ff80 0%,transparent 15%,transparent 100%);--rp-home-background-bg:var(--ck-bg-radial-1),var(--ck-bg-radial-2),var(--ck-bg-radial-3);--rp-content-padding-x:24px;--rp-content-padding-y:64px;--rp-font-family-base:"Switzer Variable",Arial,sans-serif!important;--rp-font-family-mono:"Fira Code",monospace!important;--rp-font-family:"Switzer Variable",Arial,sans-serif!important;--rp-nav-height:48px!important;--rp-sidebar-menu-height:46px!important;--rp-radius:4px!important;--rp-radius-small:2px!important;--rp-radius-large:8px!important;--rp-sidebar-width:296px!important}@media (max-width:768px){html:root{--rp-nav-height:48px!important}}@media (min-width:1280px){html:root{--rp-sidebar-menu-height:0px!important}}:root{--rp-c-bg:var(--ck-background-primary)!important;--rp-c-bg-soft:var(--ck-foreground-secondary)!important;--rp-c-bg-mute:var(--ck-foreground-primary)!important;--rp-c-divider:var(--ck-border-primary)!important;--rp-c-divider-light:var(--ck-border-secondary)!important;--rp-c-text-1:var(--ck-text-primary)!important;--rp-c-text-2:var(--ck-text-secondary)!important;--rp-c-text-3:var(--ck-text-tertiary)!important;--rp-c-text-4:var(--ck-text-tertiary)!important;--rp-c-text-code:var(--rp-c-text-1)!important;--rp-c-brand:var(--ck-accent)!important;--rp-c-brand-light:var(--ck-accent)!important;--rp-c-brand-lighter:var(--ck-accent)!important;--rp-c-brand-dark:var(--ck-accent)!important;--rp-c-brand-darker:var(--ck-accent)!important;--rp-c-brand-tint:var(--ck-accent)!important;--rp-c-gray:var(--ck-text-secondary)!important;--rp-c-gray-light-1:var(--ck-text-tertiary)!important;--rp-c-gray-light-2:var(--ck-foreground-secondary)!important;--rp-c-gray-light-3:var(--ck-foreground-secondary)!important;--rp-c-gray-light-4:var(--ck-foreground-secondary)!important;--rp-c-gray-light-5:var(--ck-foreground-secondary)!important;--rp-c-dark:var(--ck-neutral-darkest)!important;--rp-c-dark-light-1:var(--ck-neutral-darkest)!important;--rp-c-dark-light-2:var(--ck-neutral-darkest)!important;--rp-c-dark-light-3:var(--ck-neutral-darkest)!important;--rp-c-dark-light-4:var(--ck-neutral-darkest)!important;--rp-c-dark-light-5:var(--ck-neutral-darkest)!important;--rp-code-title-bg:#e9e7ee!important;--rp-code-block-bg:#f9f8fd!important;--rp-c-text-code-bg:var(--ck-border-secondary)!important;--rp-c-link:var(--rp-c-text-1)!important;--rp-container-tip-border:var(--ck-success)!important;--rp-container-tip-text:var(--rp-c-text-1)!important;--rp-container-tip-bg:var(--ck-success-bg)!important;--rp-container-tip-code-bg:var(--rp-code-block-bg)!important;--rp-container-info-border:var(--ck-accent)!important;--rp-container-info-text:var(--rp-c-text-1)!important;--rp-container-info-bg:var(--ck-accent-bg)!important;--rp-container-info-code-bg:var(--rp-code-block-bg)!important;--rp-container-warning-border:var(--ck-warning)!important;--rp-container-warning-text:var(--rp-c-text-1)!important;--rp-container-warning-bg:var(--ck-warning-bg)!important;--rp-container-warning-code-bg:var(--rp-code-block-bg)!important;--rp-container-danger-border:var(--ck-danger)!important;--rp-container-danger-text:var(--rp-c-text-1)!important;--rp-container-danger-bg:var(--ck-danger-bg)!important;--rp-container-danger-code-bg:var(--rp-code-block-bg)!important;--rp-container-note-border:var(--ck-note)!important;--rp-container-note-text:var(--rp-c-text-1)!important;--rp-container-note-bg:var(--ck-note-bg)!important;--rp-container-note-code-bg:var(--rp-code-block-bg)!important;--rp-container-details-border:var(--ck-note)!important;--rp-container-details-text:var(--rp-c-text-1)!important;--rp-container-details-bg:var(--ck-note-bg)!important;--rp-container-details-code-bg:var(--rp-code-block-bg)!important}.dark{--rp-c-bg-soft:var(--ck-foreground-primary)!important;--rp-c-bg-mute:var(--ck-foreground-secondary)!important;--rp-c-divider:var(--ck-border-secondary)!important;--rp-c-divider-light:var(--ck-border-primary)!important;--rp-code-title-bg:#363539!important;--rp-code-block-bg:#2b2a2f!important;--rp-c-text-code-bg:var(--ck-border-primary)!important}body{background:var(--rp-c-bg)!important;color:var(--rp-c-text-1)!important;font-family:var(--rp-font-family)!important}body *{letter-spacing:-.02em!important;line-height:1.5!important}code,kbd,samp,pre{font-family:var(--rp-font-family-mono)!important;font-style:normal!important;font-weight:500!important;line-height:1.5!important}h1,h2,h3,h4,h5,h6{font-family:var(--ck-header-font-family)!important;font-variant-numeric:lining-nums tabular-nums!important;font-feature-settings:"ss04" on!important;letter-spacing:-.04em!important;font-style:normal!important;font-weight:500!important;line-height:1.2!important}h1>code,h2>code,h3>code,h4>code,h5>code,h6>code{background-color:unset!important;padding:unset!important;font-family:unset!important}.rp-nav{color:var(--rp-c-text-1)!important}.rp-doc-layout__sidebar{scrollbar-width:thin;padding-left:0!important;padding-right:0!important}.rp-sidebar-item,.rp-sidebar-item--active{color:var(--rp-c-text-2);font-weight:400;line-height:1.5;border-radius:0!important;margin-top:0!important;padding-top:4px!important;padding-bottom:4px!important;font-size:14px!important}.rp-sidebar-item:hover{background-color:var(--ck-foreground-primary)!important}.rp-sidebar-item--active{color:var(--rp-c-brand)!important;font-weight:400!important}.rp-sidebar-section-header__left>span{text-transform:uppercase;color:var(--rp-c-text-3)!important;font-family:var(--rp-font-family-mono)!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important}.rp-sidebar-section-header__left>span:before{content:"//";text-transform:uppercase;margin-right:6px;color:var(--rp-c-brand)!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important}.rp-sidebar-item--active{background-color:#0000!important}.rp-sidebar-divider{border-color:#0000!important}.rp-sidebar-divider--dashed{display:none!important}img#logo{max-height:16px}.rp-search-button{border-radius:var(--rp-radius-small)!important;border:1px solid var(--rp-c-divider-light)!important;background-color:var(--rp-c-bg)!important;height:30px!important;padding:4px!important;transition:none!important}.rp-search-button button>div{background-color:var(--rp-c-divider-light)!important}.rspress-nav-appearance>div.rp-border{transition:background .15s;border-radius:var(--rp-radius-small)!important;cursor:pointer!important;border:none!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;padding:4px!important;display:flex!important}.rp-social-links,.rp-nav__others{gap:16px!important}.rp-social-links__icon>div{transition:background .15s;background:var(--rp-c-divider-light)!important;border-radius:var(--rp-radius-small)!important;cursor:pointer!important;border:none!important;width:26px!important;height:26px!important;margin:-6px!important;padding:6px!important}.rp-nav-menu,.rp-nav__right{gap:16px!important}.rp-nav-menu-item:hover,.rp-nav-menu-item--active{color:var(--rp-c-brand)!important}.rp-nav-screen-menu-item--active{background-color:#0000!important}.rp-nav-screen-menu-item.rp-link[target=_blank] .rp-nav-screen-menu-item__left:after,.rp-nav-menu a[target=_blank]:after{content:none!important}button.rp-nav-hamburger>img{width:20px;height:20px}.rp-nav-hamburger:hover,.rp-nav-hamburger--active{background:0 0!important}div.rspress-nav-appearance>div,.rp-social-links__icon>div{color:var(--rp-c-text-1)!important;background:linear-gradient(to right,var(--rp-c-brand)50%,var(--rp-c-divider-light)50%)right bottom/200% 100%!important;transition:background-position .45s cubic-bezier(.625,.05,0,1),color .45s cubic-bezier(.625,.05,0,1),transform .45s cubic-bezier(.625,.05,0,1)!important}@media (pointer:fine){div.rspress-nav-appearance>div:hover,.rp-social-links__icon>div:hover{color:#fff!important;background-position:0 100%!important}}.rp-sidebar-menu{margin-left:-6px!important}.rp-sidebar-menu__left>img{display:none!important}.rp-sidebar-menu__left:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4SDRWMTZIMjBWMThaTTIwIDEzSDRWMTFIMjBWMTNaTTIwIDhINFY2SDIwVjhaIiBmaWxsPSIjODM4Mjg5Ii8+Cjwvc3ZnPgo=);background-position:50%;background-repeat:no-repeat;background-size:contain;width:16px;height:16px}.rp-sidebar-menu__left,.rp-sidebar-menu__right{color:var(--rp-c-text-1)!important;font-weight:500!important;line-height:1.5!important}.rp-nav__title>a>span{font-weight:500!important}:root{--rp-prev-next-page-gap:12px}.rp-prev-next-page{gap:var(--rp-prev-next-page-gap)}@media (max-width:480px){.rp-prev-next-page{flex-direction:column}}.rp-prev-next-page__item{border:1px solid var(--rp-c-divider-light);align-self:stretch;width:100%;position:relative;border-radius:var(--rp-radius-small)!important;justify-content:flex-start!important}.rp-prev-next-page__item:hover{background-color:initial!important;opacity:initial!important}.rp-prev-next-page__icon{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjAgMjBIMThWNEgyMFYyMFpNMTIgMTVWMTdIMTBWMTVIMTJaTTE0IDExSDE2VjEzSDE0VjE1SDEyVjEzSDRWMTFIMTJWOUgxNFYxMVpNMTIgOUgxMFY3SDEyVjlaIiBmaWxsPSJjdXJyZW50Q29sb3IiLz4KPC9zdmc+Cg==);background-color:var(--rp-c-divider-light);border-radius:var(--rp-radius-small);box-sizing:content-box;width:16px;height:16px;padding:12px}.rp-prev-next-page__item__desc{top:10px;left:var(--rp-prev-next-page-gap);position:absolute}.rp-prev-next-page__next .rp-prev-next-page__item__desc{padding-left:0}.rp-prev-next-page__prev .rp-prev-next-page__item__desc{padding-left:calc(40px + var(--rp-prev-next-page-gap))}.rp-prev-next-page__prev .rp-prev-next-page__item__title{justify-content:flex-start}.rp-prev-next-page__item__title{justify-content:space-between;width:100%;gap:var(--rp-prev-next-page-gap)!important;align-items:flex-start!important}.rp-prev-next-page__item__title>span{padding-top:var(--rp-prev-next-page-gap)}footer{border:none!important;bottom:30px!important}.rp-home-background{right:0;-webkit-mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;filter:unset!important}div#__rspress_root>.rp-home-background{bottom:0!important}@media (any-pointer:fine){div#__rspress_root>.rp-home-background:before{content:"";z-index:-100;background-image:url(/react-native-testing-library/static/svg/hero-bg-shape.24d8912f.svg);background-repeat:no-repeat,no-repeat;background-size:contain,contain;background-position:center var(--rp-nav-height),center center;position:absolute;top:0;bottom:0;left:0;right:0}div#__rspress_root>.rp-home-background:after{content:"";z-index:-100;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnN2Z2pzPSJodHRwOi8vc3ZnanMuZGV2L3N2Z2pzIiB2aWV3Qm94PSIwIDAgNzAwIDcwMCIgd2lkdGg9IjcwMCIgaGVpZ2h0PSI3MDAiIG9wYWNpdHk9IjEiPjxkZWZzPjxmaWx0ZXIgaWQ9Im5ubm9pc2UtZmlsdGVyIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMTQwJSIgaGVpZ2h0PSIxNDAlIiBmaWx0ZXJVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHByaW1pdGl2ZVVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJsaW5lYXJSR0IiPgoJPGZlVHVyYnVsZW5jZSB0eXBlPSJ0dXJidWxlbmNlIiBiYXNlRnJlcXVlbmN5PSIwLjIiIG51bU9jdGF2ZXM9IjQiIHNlZWQ9IjE1IiBzdGl0Y2hUaWxlcz0ic3RpdGNoIiB4PSIwJSIgeT0iMCUiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHJlc3VsdD0idHVyYnVsZW5jZSI+PC9mZVR1cmJ1bGVuY2U+Cgk8ZmVTcGVjdWxhckxpZ2h0aW5nIHN1cmZhY2VTY2FsZT0iMSIgc3BlY3VsYXJDb25zdGFudD0iMi40IiBzcGVjdWxhckV4cG9uZW50PSIyMCIgbGlnaHRpbmctY29sb3I9IiM4ODg4ODgiIHg9IjAlIiB5PSIwJSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgaW49InR1cmJ1bGVuY2UiIHJlc3VsdD0ic3BlY3VsYXJMaWdodGluZyI+CiAgICAJCTxmZURpc3RhbnRMaWdodCBhemltdXRoPSIzIiBlbGV2YXRpb249IjgzIj48L2ZlRGlzdGFudExpZ2h0PgogIAk8L2ZlU3BlY3VsYXJMaWdodGluZz4KICAKPC9maWx0ZXI+PC9kZWZzPjxyZWN0IHdpZHRoPSI3MDAiIGhlaWdodD0iNzAwIiBmaWxsPSJ0cmFuc3BhcmVudCI+PC9yZWN0PjxyZWN0IHdpZHRoPSI3MDAiIGhlaWdodD0iNzAwIiBmaWxsPSIjODg4ODg4IiBmaWx0ZXI9InVybCgjbm5ub2lzZS1maWx0ZXIpIj48L3JlY3Q+PC9zdmc+);background-repeat:repeat;background-size:cover;background-position:center var(--rp-nav-height),center center;position:absolute;top:0;bottom:0;left:0;right:0;-webkit-mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);mask-image:radial-gradient(150vw 150vh at 100% -5%,#000 -5%,#0000 40%);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dark div#__rspress_root>.rp-home-background:after{opacity:.1}div#__rspress_root:not(:has(div[class^=rp-doc])){background-image:url(/react-native-testing-library/static/image/footer.23946cc8.webp);background-position:bottom;background-repeat:no-repeat;background-size:contain;padding-bottom:12vw;position:relative}.dark div#__rspress_root:not(:has(div[class^=rp-doc])){background-image:url(/react-native-testing-library/static/image/footer-dark.f77eb089.png)}div#__rspress_root:not(:has(div[class^=rp-doc])):after{content:"";aspect-ratio:1440/286;opacity:.3;pointer-events:none;object-fit:contain;background-image:url(/react-native-testing-library/static/svg/callstack.7a309d39.svg);background-position:50% calc(100% + 12px),bottom,bottom,bottom;background-repeat:no-repeat,repeat,no-repeat,no-repeat;background-size:min(90rem,95%),auto,contain,contain;width:100%;height:auto;position:absolute;top:auto;bottom:-2px;left:0%;right:0%}footer{bottom:180px!important}}.rp-doc-layout__overview{padding-top:var(--rp-content-padding-y)!important}.rp-doc-layout__overview>div>h2:before{content:none!important}.rp-doc-layout__overview>div>h2.rp-toc-include{display:none!important}.rp-overview__empty{color:var(--rp-c-text-1)!important;font-family:var(--rp-font-family)!important;background-color:#0000!important;font-size:16px!important;font-weight:400!important}.rp-overview-search{gap:0!important}.rp-overview-group{margin-top:8px!important}.rp-overview-group__item{transition:border-color .3s cubic-bezier(.65,.05,.36,1);position:relative;border:1px dashed var(--ck-border-primary)!important;border-radius:var(--rp-radius-small)!important}.rp-overview-group__item__title,.rp-overview-group__item__title:hover{border-bottom:1px dashed var(--ck-border-primary)!important;background-color:#0000!important;font-weight:500!important}@media (min-width:1281px){.rp-overview-group__item__title,.rp-overview-group__item__title:hover{border-bottom:none!important;border-right:1px dashed var(--ck-border-primary)!important}}.rp-overview-group__item__title>svg{display:none!important}.rp-overview-group__item__title:before{content:"";z-index:-1;background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAZhtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAANGlsb2MAAAAAREAAAgACAAAAAAG8AAEAAAAAAAAAIQABAAAAAAHdAAEAAAAAAAABvgAAADhpaW5mAAAAAAACAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAFWluZmUCAAAAAAIAAGF2MDEAAAAA12lwcnAAAACxaXBjbwAAABNjb2xybmNseAACAAIABoAAAAAMYXYxQ4EEHAAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAAA5waXhpAAAAAAEIAAAAOGF1eEMAAAAAdXJuOm1wZWc6bXBlZ0I6Y2ljcDpzeXN0ZW1zOmF1eGlsaWFyeTphbHBoYQAAAAAMYXYxQ4EkAgAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAABBwaXhpAAAAAAMICAgAAAAeaXBtYQAAAAAAAAACAAEEgYYHiAACBIIDhIUAAAAaaXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAedtZGF0EgAKBxkmaPufhUAyFBIAAABQEnFcCJBhnz/FpaY9OM+oEgAKBzkmaPufgkAysAMSAABBBAFAdwo2pzAtvYEyy/3PwE6f/vhzVuvHj7ra1LLUFgC3vJssr6tiT5FH714XOhDxguZprICt+RLk/AUcLUmu2v7BwLvj/Q/RZRV2gEwa1WNxCssp8DrxwihYCKLptu67qiUdOZR3JH2buMN14AZM0OnnVtEx2EprBbbRRRDdV7ELBX2x7Qn4nh5+aNHZqUE8COGF9GQqEwFmEFwJB76xdUrJ+nhdMSh7MLB0rwyXXDowC5IXFdjL2x4TbTvDrBRx0GmM+Uo0/DzYbiQjN44XpA2TwpEk1q4Rkko8Dp5z2mXIznhPu5kPZz4iCiZO0fsIIEfIAwFsprHlFbettt5CeoXnBr5t3fnn5remeymreTzShDWbm/krXjkhrRKqvQsbhW86//r+7zF/6mMuTWtbFv7uE+Xr4wQvCk4CzjAkPzEuiUj1Ju83O7fBi2GjyKv007HKqJYnOZDybTOI+K0WBp8egtvkuoIbuhRutNAwD+Pw+Yt95zQOaBSux1gRse7Gsqr583Qscbfn0LLj6iIcCddWI0bgu1W8lW62eQC/aPfPY1HY5I4Fq9YY8kA=);background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;top:0;bottom:0;left:0;right:0}.dark .rp-overview-group__item__title:before{opacity:.5;background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif)}input#api-filter{background:var(--rp-c-bg)url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NjUgMTQuNjY2NEgxMy4zMzM1VjEzLjMzMzNIMTQuNjY2NVYxNC42NjY0Wk0xMy4zMzM1IDEzLjMzMzNIMTIuMDAwNVYxMi4wMDAzSDEzLjMzMzVWMTMuMzMzM1pNOS4zMzM1IDEyLjAwMDNINC4wMDA0OVYxMC42NjY0SDkuMzMzNVYxMi4wMDAzWk0xMi4wMDA1IDEyLjAwMDNIMTAuNjY2NVYxMC42NjY0SDEyLjAwMDVWMTIuMDAwM1pNNC4wMDA0OSAxMC42NjY0SDIuNjY2NVY5LjMzMzM0SDQuMDAwNDlWMTAuNjY2NFpNMTAuNjY2NSAxMC42NjY0SDkuMzMzNVY5LjMzMzM0SDEwLjY2NjVWMTAuNjY2NFpNMi42NjY1IDkuMzMzMzRIMS4zMzM1VjQuMDAwMzRIMi42NjY1VjkuMzMzMzRaTTEyLjAwMDUgOS4zMzMzNEgxMC42NjY1VjQuMDAwMzRIMTIuMDAwNVY5LjMzMzM0Wk00LjAwMDQ5IDQuMDAwMzRIMi42NjY1VjIuNjY2MzVINC4wMDA0OVY0LjAwMDM0Wk0xMC42NjY1IDQuMDAwMzRIOS4zMzM1VjIuNjY2MzVIMTAuNjY2NVY0LjAwMDM0Wk05LjMzMzUgMi42NjYzNUg0LjAwMDQ5VjEuMzMzMzRIOS4zMzM1VjIuNjY2MzVaIiBmaWxsPSIjODM4Mjg5Ii8+Cjwvc3ZnPgo=) no-repeat 12px center/16px 16px;border:1px solid var(--ck-border-primary);color:var(--rp-c-text-2);border-radius:var(--rp-radius-small);font-family:var(--rp-font-family);box-sizing:border-box;outline:none;min-width:200px;padding:10px 12px 10px 36px;font-size:16px;font-weight:400;line-height:1.5}input#api-filter::placeholder{color:var(--rp-c-text-3);opacity:1;font-family:var(--rp-font-family);font-size:16px;font-weight:400}input#api-filter::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuODMzMDEgMTUuODMzSDQuMTY2OTlWMTQuMTY3SDUuODMzMDFWMTUuODMzWk0xNS44MzMgMTUuODMzSDE0LjE2N1YxNC4xNjdIMTUuODMzVjE1LjgzM1pNNy41IDEyLjVWMTQuMTY3SDUuODMzMDFWMTIuNUg3LjVaTTE0LjE2NyAxNC4xNjdIMTIuNVYxMi41SDE0LjE2N1YxNC4xNjdaTTkuMTY2OTkgMTIuNUg3LjVWMTAuODMzSDkuMTY2OTlWMTIuNVpNMTIuNSAxMi41SDEwLjgzM1YxMC44MzNIMTIuNVYxMi41Wk0xMC44MzMgMTAuODMzSDkuMTY2OTlWOS4xNjY5OUgxMC44MzNWMTAuODMzWk05LjE2Njk5IDkuMTY2OTlINy41VjcuNUg5LjE2Njk5VjkuMTY2OTlaTTEyLjUgOS4xNjY5OUgxMC44MzNWNy41SDEyLjVWOS4xNjY5OVpNNy41IDcuNUg1LjgzMzAxVjUuODMzMDFINy41VjcuNVpNMTQuMTY3IDcuNUgxMi41VjUuODMzMDFIMTQuMTY3VjcuNVpNNS44MzMwMSA1LjgzMzAxSDQuMTY2OTlWNC4xNjY5OUg1LjgzMzAxVjUuODMzMDFaTTE1LjgzMyA1LjgzMzAxSDE0LjE2N1Y0LjE2Njk5SDE1LjgzM1Y1LjgzMzAxWiIgZmlsbD0iIzgzODI4OSIvPgo8L3N2Zz4K) 50%/contain no-repeat;width:16px;height:16px}.rp-overview-group__item:hover .rp-overview-group__item__title{border-color:var(--ck-accent)!important;background-color:#0000!important}.rp-overview-group__item:hover{border-color:var(--ck-accent)!important}.rp-overview-group__item:hover .rp-overview-group__item__title{color:var(--rp-c-brand);background-color:unset!important}div.rp-overview-group__item:hover .rp-overview-group__item__title,.rp-overview-group__item__content__item__link:hover{background-color:#0000!important}div.rp-search-panel__mask{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#15141580}div.rp-search-panel__modal{background:var(--rp-c-bg);border:1px solid var(--ck-border-primary);border-radius:var(--rp-radius);font-family:var(--rp-font-family);box-shadow:0 40px 40px -20px #201f244d;padding:0!important}div.rp-search-panel__input-form+h2{display:none}div.rp-search-panel__input-form{border:none!important}input.rp-search-panel__input{color:var(--rp-c-text-1)!important;font-family:var(--rp-font-family)!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;line-height:150%!important}div.rp-search-panel__results{box-shadow:0 40px 40px -20px #201f244d;border-top:1px solid var(--ck-border-primary)!important}div.rp-search-panel__results>div:not(:has(ul)){justify-content:flex-end}div.rp-search-panel__results svg{display:none!important}li.rp-suggest-item>a{box-shadow:none!important;color:var(--rp-c-text-1)!important;background-color:#0000!important;margin-left:1px!important;padding:0 16px!important}li.rp-suggest-item>a span.rp-suggest-item__mark{color:var(--rp-c-text-1)!important;text-decoration:underline!important}li.rp-suggest-item--current>a{color:var(--rp-c-text-1)!important;background-color:var(--rp-c-bg-soft)!important;text-decoration:none!important}li.rp-suggest-item--current>a p.rp-suggest-item__title{color:var(--rp-c-text-2)!important}li.rp-suggest-item--current>a span.rp-suggest-item__mark{background-color:var(--rp-c-bg-soft)!important}li.rp-suggest-item>a>div.rp-suggest-item__container>div>svg{display:none!important}li.rp-suggest-item>a>div.rp-suggest-item__container>div.rp-suggest-item__content{padding:0!important}a.rp-edit-link{color:var(--rp-c-text-2);padding-left:32px;position:relative}a.rp-edit-link:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDZINFYyMEgxOFYxNEgyMFYyMkgyVjRIMTBWNlpNOCAxNkgxMlYxOEg2VjEySDhWMTZaTTE0IDE2SDEyVjE0SDE0VjE2Wk0xNiAxNEgxNFYxMkgxNlYxNFpNMTAgMTJIOFYxMEgxMFYxMlpNMTggMTJIMTZWMTBIMThWMTJaTTEyIDEwSDEwVjhIMTJWMTBaTTIwIDEwSDE4VjhIMjBWMTBaTTE0IDhIMTJWNkgxNFY4Wk0yMiA4SDIwVjZIMjJWOFpNMTYgNkgxNFY0SDE2VjZaTTIwIDZIMThWNEgyMFY2Wk0xOCA0SDE2VjJIMThWNFoiIGZpbGw9IiM4MjMyRkYiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;width:24px;height:24px;position:absolute;top:-2px;left:0}.rp-header-anchor{margin-left:-1em!important;line-height:1.2!important}.rp-doc.rspress-doc>h1.rp-toc-include{margin-bottom:1.5rem!important}.rp-doc.rspress-doc>h2.rp-toc-include{border:none!important;margin-bottom:0!important}.rp-not-found{min-height:100vh!important}.rp-not-found__error-code{font-family:var(--rp-font-family)!important;color:var(--rp-c-text-1)!important;font-weight:500!important;line-height:1.2!important}.rp-not-found__title{font-family:var(--rp-font-family)!important;color:var(--rp-c-text-2)!important;font-weight:500!important;line-height:1.2!important}.rp-doc p>code{padding:.1em .2em;border-radius:4px!important;font-size:1em!important}.rp-code-button-group{top:8px!important;right:8px!important}aside.rp-doc-layout__outline{border-left:1px solid var(--rp-c-divider-light)!important;padding:16px 0!important}.rp-outline__title,aside.rp-doc-layout__outline>div.rp-outline{color:var(--rp-c-text-1)!important;border-left:none!important;font-size:14px!important;font-weight:500!important;line-height:1.5!important}.rp-toc-item{margin-top:0!important;padding-top:4px!important;padding-bottom:4px!important}svg.rp-progress-circle{display:none!important}.rp-outline__toc>a.rp-toc-item.rp-link:hover{background-color:var(--ck-foreground-primary)!important}.rp-toc-item{margin-left:-20px!important;margin-right:-20px!important;padding-left:20px!important;padding-right:20px!important}.rp-toc-item--active:before{left:0!important}.rp-link:hover{color:var(--rp-c-brand)}.rp-link:hover>code{color:var(--rp-c-brand)!important}.rp-doc a>code{color:var(--rp-c-text-1)!important;text-decoration:underline!important}p>.rp-link{border-bottom:1px solid var(--rp-c-text-1)}.rp-link:after{content:none!important}.rp-callout{font-family:var(--rp-font-family)!important;background:0 0!important;border:1px dashed #0000!important;border-left:2px solid!important;border-radius:0!important;flex-direction:column!important;align-items:flex-start!important;margin:1rem 0!important;padding:8px 16px!important;display:flex!important}.rp-callout__title{color:var(--rp-c-text-1)!important;flex-direction:row!important;align-items:center!important;margin-bottom:0!important;font-weight:500!important;line-height:1.5!important;display:flex!important}.rp-callout .rp-callout__title:before{width:24px;height:24px;margin-right:16px;display:inline-block;position:relative;top:0;left:0}.rp-callout__content>*{margin-left:40px!important;font-size:16px!important}.rp-callout .rp-callout__content a{font-weight:400!important}.rp-callout__content{width:100%}.rp-callout--info{border-left-color:var(--rp-container-info-border)!important}.rp-callout--tip{border-left-color:var(--rp-container-tip-border)!important}.rp-callout--warning{border-left-color:var(--rp-container-warning-border)!important}.rp-callout--danger{border-left-color:var(--rp-container-danger-border)!important}.rp-callout--details{border-left-color:var(--rp-container-details-border)!important}.rp-callout--note{border-left-color:var(--rp-container-note-border)!important}.rp-callout--tip .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMThINVYxNkg3VjE4Wk0xMyAxOEgxMVYxNkgxM1YxOFpNNSAxNkgzVjE0SDVWMTZaTTkgMTZIN1YxNEg5VjE2Wk0xNSAxNFYxNkgxM1YxNEgxNVpNMyAxNEgxVjEySDNWMTRaTTExIDE0SDlWMTJIMTFWMTRaTTE3IDE0SDE1VjEySDE3VjE0Wk0xMyAxMkgxMVYxMEgxM1YxMlpNMTkgMTJIMTdWMTBIMTlWMTJaTTE1IDEwSDEzVjhIMTVWMTBaTTIxIDEwSDE5VjhIMjFWMTBaTTE3IDhIMTVWNkgxN1Y4Wk0yMyA4SDIxVjZIMjNWOFoiIGZpbGw9IiMyRkM3MTciLz4KPC9zdmc+Cg==) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--info .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUgMjFIM1YzSDVWMjFaTTIxIDIxSDUuMDAwOThWMTlIMTlWNUg1LjAwMDk4VjNIMjFWMjFaTTEzIDExVjE3SDExVjExSDEzWk0xMyA5SDExVjdIMTNWOVoiIGZpbGw9IiM4MjMyRkYiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--warning .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIxIDIxSDNWM0gyMVYyMVpNNSAxOUgxOVY1SDVWMTlaTTEzIDE3SDExVjE1SDEzVjE3Wk0xMyAxM0gxMVY3SDEzVjEzWiIgZmlsbD0iI0ZGQjE0QyIvPgo8L3N2Zz4K) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--danger .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDIzSDExVjIxSDEzVjIzWk0xMSAyMUg5VjE5SDExVjIxWk0xNSAyMUgxM1YxOUgxNVYyMVpNOSAxOUg3VjE3SDlWMTlaTTE3IDE5SDE1VjE3SDE3VjE5Wk03IDE3SDVWMTVIN1YxN1pNMTMgMTdIMTFWMTVIMTNWMTdaTTE5IDE3SDE3VjE1SDE5VjE3Wk01IDE1SDNWMTNINVYxNVpNMjEgMTVIMTlWMTNIMjFWMTVaTTMgMTNIMVYxMUgzVjEzWk0xMyAxM0gxMVY3SDEzVjEzWk0yMyAxM0gyMVYxMUgyM1YxM1pNNSAxMUgzVjlINVYxMVpNMjEgMTFIMTlWOUgyMVYxMVpNNyA5SDVWN0g3VjlaTTE5IDlIMTdWN0gxOVY5Wk05IDdIN1Y1SDlWN1pNMTcgN0gxNVY1SDE3VjdaTTExIDVIOVYzSDExVjVaTTE1IDVIMTNWM0gxNVY1Wk0xMyAzSDExVjFIMTNWM1oiIGZpbGw9IiNGQTcxNzEiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--details .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDIwSDE4VjRIMjBWMjBaTTEyIDE1VjE3SDEwVjE1SDEyWk0xNCAxMUgxNlYxM0gxNFYxNUgxMlYxM0g0VjExSDEyVjlIMTRWMTFaTTEyIDlIMTBWN0gxMlY5WiIgZmlsbD0iIzgzODI4OSIvPgo8L3N2Zz4K) 50%/contain no-repeat;background-color:#0000!important}.rp-callout--note .rp-callout__title:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIxIDJWMjJIM1YySDIxWk01IDRWMjBIMTlWNEg1Wk0xNCAxNkg3VjE0SDE0VjE2Wk0xNyAxMkg3VjEwSDE3VjEyWk0xNyA4SDdWNkgxN1Y4WiIgZmlsbD0iIzgzODI4OSIvPgo8L3N2Zz4K) 50%/contain no-repeat;background-color:#0000!important}details.details{position:relative}summary.rp-callout__title{width:100%}details[open]>summary.rp-callout__title:after{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxMiAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNSA0LjVINy41VjMuNUg2LjVWMi41SDUuNVYzLjVINC41VjQuNUg1LjVWMTAuNUg2LjVWNC41Wk00LjUgNC41SDMuNVY1LjVINC41VjQuNVpNOC41IDQuNUg3LjVWNS41SDguNVY0LjVaTTMuNSA2LjVWNS41SDIuNVY2LjVIMy41Wk05LjUgNS41SDguNVY2LjVIOS41VjUuNVoiIGZpbGw9IiNCQ0JCQzIiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;width:24px;height:24px;position:absolute;left:95%}details:not([open])>summary.rp-callout__title:after{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxMiAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNSA4LjVINy41VjkuNUg2LjVWMTAuNUg1LjVWOS41SDQuNVY4LjVINS41VjIuNUg2LjVWOC41Wk00LjUgOC41SDMuNVY3LjVINC41VjguNVpNOC41IDguNUg3LjVWNy41SDguNVY4LjVaTTMuNSA2LjVWNy41SDIuNVY2LjVIMy41Wk05LjUgNy41SDguNVY2LjVIOS41VjcuNVoiIGZpbGw9IiNCQ0JCQzIiLz4KPC9zdmc+Cg==) 50%/contain no-repeat;width:24px;height:24px;position:absolute;left:95%}.bar-yFRNhz{color:#fff;background-color:#8232ff;justify-content:center;align-items:center;height:32px;display:flex;position:relative}.link-iUd1SG{color:#fff;font-family:Switzer Variable,sans-serif;font-size:14px;font-weight:500;line-height:1.5;text-decoration:none}.link-iUd1SG:hover{opacity:.9;text-decoration:underline}.link-iUd1SG:active{opacity:.7}.close-kUdhEg{z-index:1;box-sizing:border-box;width:16px;height:16px;position:absolute;right:16px;cursor:pointer!important}.close-kUdhEg:hover{background-color:#ffffff4d}.badge-JOuwlY{vertical-align:middle;border-radius:var(--rp-radius-small);padding-inline-start:.625rem;padding-inline-end:.625rem;border:1px solid #0000;justify-content:center;align-items:center;gap:.25rem;height:1.5rem;padding:0 6px;font-size:14px;font-weight:500;line-height:1.5;transition:color .25s;display:inline-flex}.badge-JOuwlY.tip-obOVcS{color:var(--rp-container-tip-border);background-color:var(--rp-container-tip-bg)}.badge-JOuwlY.info-q_r3eR{color:var(--rp-container-info-border);background-color:var(--rp-container-info-bg)}.badge-JOuwlY.warning-BggZiV{color:var(--rp-container-warning-border);background-color:var(--rp-container-warning-bg)}.badge-JOuwlY.danger-UwnNxJ{color:var(--rp-container-danger-border);background-color:var(--rp-container-danger-bg)}.badge-JOuwlY.note-ItYjre{color:var(--rp-container-note-border);background-color:var(--rp-container-note-bg)}.outline-gGpHp9.tip-obOVcS{border-color:var(--rp-container-tip-border)}.outline-gGpHp9.info-q_r3eR{border-color:var(--rp-container-info-border)}.outline-gGpHp9.warning-BggZiV{border-color:var(--rp-container-warning-border)}.outline-gGpHp9.danger-UwnNxJ{border-color:var(--rp-container-danger-border)}.outline-gGpHp9.note-ItYjre{border-color:var(--rp-container-note-border)}.button-DogSnd{font-family:var(--rp-font-family);cursor:pointer;border-radius:2px;gap:8px;width:-moz-fit-content;width:fit-content;padding:4px 4px 4px 16px;font-size:14px;font-weight:500;line-height:1.5;transition:background-position .45s cubic-bezier(.625,.05,0,1),color .45s cubic-bezier(.625,.05,0,1),transform .45s cubic-bezier(.625,.05,0,1);display:block}@media (pointer:fine){.button-DogSnd:hover{color:#fff!important;background-position:0 100%!important}.button-DogSnd:hover svg.button-icon-Okk0hT>path{animation:.2s cubic-bezier(.625,.05,0,1) slide-out-Yp9sdv,.25s cubic-bezier(.625,.05,0,1) .2s slide-in-_qbjG1}}.button-DogSnd>*{vertical-align:-50%}.button-DogSnd.alt-XB5jdj,.dark .button-DogSnd.brand-rT2ahT{background:linear-gradient(to right,var(--rp-c-brand)50%,#fff 50%)right bottom/calc(200% + 1px)100%;color:#201f24}.button-DogSnd.brand-rT2ahT,.dark .button-DogSnd.alt-XB5jdj{background:linear-gradient(to right,var(--rp-c-brand)50%,#201f24 50%)right bottom/calc(200% + 1px)100%;color:#fff}@keyframes slide-in-_qbjG1{0%{transform:translate(-150%)}to{transform:translate(0%)}}@keyframes slide-out-Yp9sdv{0%{transform:translate(0%)}to{transform:translate(150%)}}.brand-rT2ahT{border:none}.alt-XB5jdj{border:1px solid var(--rp-c-divider-light)}.button-icon-Okk0hT{border-radius:2px;width:32px;height:32px;margin-left:12px;padding:8px;transition:color .45s cubic-bezier(.625,.05,0,1);display:inline-block;overflow:hidden}.button-DogSnd.alt-XB5jdj .button-icon-Okk0hT,.button-icon-Okk0hT,.dark .button-DogSnd.brand-rT2ahT .button-icon-Okk0hT{color:inherit;background:#1514151a}.button-DogSnd.brand-rT2ahT .button-icon-Okk0hT,.dark .button-DogSnd.alt-XB5jdj .button-icon-Okk0hT{color:inherit;background:#fff3}.card-Mp1eVU{color:var(--rp-c-text-1);border:1px dashed var(--rp-c-divider);border-radius:var(--rp-radius-small);justify-content:space-between;align-items:flex-start;margin:1rem 0;padding:32px;display:flex;position:relative}.cardContentContainer-uPAwxW{flex-direction:column;display:flex}.cardTitle-TpjSJW{font-family:var(--ck-header-font-family);font-size:24px;font-weight:500;line-height:1.5}.cardContent-IHYWJn{font-family:var(--rp-font-family);color:var(--rp-c-text-2);letter-spacing:-.32px;text-align:left;margin-bottom:0;font-size:16px;font-weight:400;line-height:1.5}.container-uhcWmO{color:var(--rp-c-brand-light);background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif);background-position:100% 100%;background-repeat:no-repeat;background-size:cover;border-radius:4px;align-items:center;max-width:72rem;margin:64px auto 0;padding:40px;display:flex;position:relative;overflow:hidden}.logo-IwzwG8{pointer-events:none;opacity:.7;position:absolute;left:25%}.content-uJxcIj{z-index:4;align-items:center;width:100%;display:flex;position:relative}.headlineContainer-NHNT4y{flex:1;max-width:300px;display:flex}.buttonContainer-wOj8Y6{flex:1;justify-content:flex-end;display:flex}.headline-iCUUUl{color:#fff;font-family:var(--ck-header-font-family);letter-spacing:-.8px;margin-bottom:0;font-size:20px;font-weight:500;line-height:1.2}@media (max-width:960px){.logo-IwzwG8{left:20%;scale:1.2}}@media (max-width:640px){.container-uhcWmO{margin:32px auto -32px}.logo-IwzwG8{left:15%;scale:1.5}.headline-iCUUUl{letter-spacing:-.32px;font-size:16px}}.wrapper-mI4CtC{max-width:72rem;margin:auto}.container-JklxSY{color:var(--rp-c-brand-light);margin:var(--rp-content-padding-y)8px;background-color:#322659;background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif);background-position:100% 100%;background-repeat:no-repeat;background-size:cover;border-radius:4px;justify-content:flex-start;align-items:center;padding:64px 48px;display:flex;position:relative;overflow:hidden}.logo-wGu6zG{pointer-events:none;opacity:.7;position:absolute}.content-qrbCuM{z-index:4;flex-direction:column;align-items:flex-start;gap:32px;width:100%;max-width:640px;display:flex;position:relative}.headline-urbBtl{color:#fff;font-family:var(--ck-header-font-family);letter-spacing:-1.6px;margin:0;font-size:40px;font-weight:600;line-height:1.2}.description-a82hKX{flex-direction:column;gap:32px;max-width:416px;display:flex}.descriptionText-UMW_4H{color:#cfced5;letter-spacing:-.36px;font-size:18px;font-weight:400;line-height:1.5;font-family:var(--rp-font-family)}@media (max-width:960px){.container-JklxSY{height:320px;padding:32px 16px}.content-qrbCuM{gap:24px;max-width:90vw}.logo-wGu6zG{scale:1.2}.headline-urbBtl{letter-spacing:-1px;font-size:28px}.description-a82hKX{gap:20px;max-width:380px}.descriptionText-UMW_4H{font-size:16px}}@media (max-width:640px){.container-JklxSY{height:240px}.content-qrbCuM{gap:16px;max-width:100vw}.logo-wGu6zG{scale:1.5}.headline-urbBtl{letter-spacing:-.5px;font-size:20px}.description-a82hKX{gap:12px;max-width:320px}.descriptionText-UMW_4H{font-size:14px}.grid-2-cgAqRP,.grid-4-JvWJqM,.grid-6-dUNjnk{width:100%}}@media (min-width:640px){.grid-2-cgAqRP,.grid-4-JvWJqM,.grid-6-dUNjnk{width:50%}}@media (min-width:768px){.grid-2-cgAqRP,.grid-4-JvWJqM{width:50%}.grid-3-UOYenV,.grid-6-dUNjnk{width:33.3333%}}@media (min-width:960px){.grid-3-UOYenV{width:25%}.grid-4-JvWJqM{width:33.3333%}.grid-6-dUNjnk{width:50%}}.container-Pu3RMt{flex-flow:wrap;max-width:72rem;margin:auto;display:flex;overflow:hidden}.featureCardContainer-NOFPt7{height:100%;padding:8px}.featureCard-XfKTmz{color:var(--rp-c-text-1);border:1px dashed var(--rp-c-divider);border-radius:var(--rp-radius-small);flex-direction:column;align-items:flex-start;gap:32px;height:100%;padding:32px;transition:border-color .3s cubic-bezier(.65,.05,.36,1);display:flex;position:relative}.featureCard-XfKTmz:hover{color:var(--rp-c-brand);border-color:var(--ck-accent)}.featureCard-XfKTmz:before{content:"";opacity:0;z-index:-1;border-radius:inherit;background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAZhtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAANGlsb2MAAAAAREAAAgACAAAAAAG8AAEAAAAAAAAAIQABAAAAAAHdAAEAAAAAAAABvgAAADhpaW5mAAAAAAACAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAFWluZmUCAAAAAAIAAGF2MDEAAAAA12lwcnAAAACxaXBjbwAAABNjb2xybmNseAACAAIABoAAAAAMYXYxQ4EEHAAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAAA5waXhpAAAAAAEIAAAAOGF1eEMAAAAAdXJuOm1wZWc6bXBlZ0I6Y2ljcDpzeXN0ZW1zOmF1eGlsaWFyeTphbHBoYQAAAAAMYXYxQ4EkAgAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAABBwaXhpAAAAAAMICAgAAAAeaXBtYQAAAAAAAAACAAEEgYYHiAACBIIDhIUAAAAaaXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAedtZGF0EgAKBxkmaPufhUAyFBIAAABQEnFcCJBhnz/FpaY9OM+oEgAKBzkmaPufgkAysAMSAABBBAFAdwo2pzAtvYEyy/3PwE6f/vhzVuvHj7ra1LLUFgC3vJssr6tiT5FH714XOhDxguZprICt+RLk/AUcLUmu2v7BwLvj/Q/RZRV2gEwa1WNxCssp8DrxwihYCKLptu67qiUdOZR3JH2buMN14AZM0OnnVtEx2EprBbbRRRDdV7ELBX2x7Qn4nh5+aNHZqUE8COGF9GQqEwFmEFwJB76xdUrJ+nhdMSh7MLB0rwyXXDowC5IXFdjL2x4TbTvDrBRx0GmM+Uo0/DzYbiQjN44XpA2TwpEk1q4Rkko8Dp5z2mXIznhPu5kPZz4iCiZO0fsIIEfIAwFsprHlFbettt5CeoXnBr5t3fnn5remeymreTzShDWbm/krXjkhrRKqvQsbhW86//r+7zF/6mMuTWtbFv7uE+Xr4wQvCk4CzjAkPzEuiUj1Ju83O7fBi2GjyKv007HKqJYnOZDybTOI+K0WBp8egtvkuoIbuhRutNAwD+Pw+Yt95zQOaBSux1gRse7Gsqr583Qscbfn0LLj6iIcCddWI0bgu1W8lW62eQC/aPfPY1HY5I4Fq9YY8kA=);background-position:50%;background-repeat:no-repeat;background-size:cover;transition:opacity .3s cubic-bezier(.65,.05,.36,1);position:absolute;top:0;bottom:0;left:0;right:0}.dark .featureCard-XfKTmz:before{background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif)}.featureCard-XfKTmz:hover:before{opacity:1}.dark .featureCard-XfKTmz:hover:before{opacity:.5}.featureIcon-Hb8_cv{width:32px;height:32px;color:var(--rp-c-brand);justify-content:center;align-items:center;margin-bottom:0;display:flex}.featureIconContainer-pVL4Ko{justify-content:center;align-items:center;display:flex}.featureTitle-cyqmgX{font-family:var(--ck-header-font-family);letter-spacing:-.8px;text-align:left;margin-bottom:16px;font-size:20px;font-weight:500;line-height:1.2}.featureDetail-QDEU9M{font-family:var(--rp-font-family);color:var(--rp-c-text-2);letter-spacing:-.32px;text-align:left;margin-bottom:0;font-size:16px;font-weight:400;line-height:1.5}.container-IBgsxu{width:100%;max-width:72rem;margin:0 auto;padding:0 8px}.row-VpRJwk{flex-direction:row;justify-content:space-between;align-items:center;display:flex}.logo-eionWK{width:101px;height:20px;position:relative;overflow:hidden}.message-flKFGZ{color:var(--rp-c-text-3);text-align:center;margin:0 8px;font-size:12px;font-weight:400;line-height:1.5}.logoDark-o8oBUU{display:none}.dark .logoDark-o8oBUU,.logoLight-uCgBdi{display:block}.dark .logoLight-uCgBdi{display:none}.container-Ey5SDc{width:calc(100% - 16px);max-width:72rem;padding:calc(var(--rp-content-padding-y)*1.5)0 var(--rp-content-padding-y)0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0 auto;display:flex;position:relative;overflow:hidden}.heroMain-aBhXSi{text-wrap:balance;flex-direction:column;max-width:55%;display:flex}.heroImage-SovGBC{max-height:24px;margin:0 0 32px}.heroName-_0lw9K{color:var(--rp-c-text-1);font-family:Alliance No\.2,Arial,sans-serif;font-size:64px;font-style:normal;font-weight:400!important;line-height:1.1!important}.heroTaglineActions-jKkfzE{flex-direction:column;justify-content:flex-end;align-self:flex-end;align-items:flex-end;gap:32px;margin:0 32px 0 60%;display:flex}.heroTagline-HUMGEx{color:var(--rp-c-text-2);font-family:var(--rp-font-family);letter-spacing:-.36px;text-wrap:pretty;max-width:500px;font-size:18px;font-weight:400;line-height:1.5}.heroActions-x2L3Tk{flex-wrap:wrap;justify-content:flex-start;align-self:flex-start;gap:16px;display:flex}@media (max-width:960px){.container-Ey5SDc{padding-top:1.6rem;padding-bottom:1.6rem}.heroMain-aBhXSi{flex-direction:row;justify-content:space-around;align-items:center;max-width:100%}.heroImage-SovGBC{margin:0 32px 32px}.heroName-_0lw9K{text-align:center;margin:0 32px;font-size:48px}.heroTaglineActions-jKkfzE{align-self:center;margin:32px}.heroTagline-HUMGEx{text-align:center;max-width:100%}.heroActions-x2L3Tk{align-self:center}}@media (max-width:640px){.heroMain-aBhXSi{flex-direction:column;justify-content:space-between;align-items:center;width:100%;display:flex}.heroImage-SovGBC{margin:0 16px 32px}.heroName-_0lw9K{text-align:center;margin:0 16px;font-size:32px}.heroActions-x2L3Tk{justify-content:center}}@media (max-width:400px){.heroTaglineActions-jKkfzE{align-self:center;margin-bottom:0}.heroActions-x2L3Tk{gap:12px}}.heroImageLight-sb5aHd{display:block}.heroImageDark-tJROGU{display:none}.dark .heroImageDark-tJROGU{display:block}.dark .heroImageLight-sb5aHd{display:none}.linkCard-cPk9Gt{color:var(--rp-c-text-1);border:1px dashed var(--rp-c-divider);border-radius:var(--rp-radius-small);justify-content:space-between;align-items:flex-start;margin:1rem 0;padding:32px;transition:border-color .3s cubic-bezier(.65,.05,.36,1);display:flex;position:relative}.linkCard-cPk9Gt:hover{border-color:var(--ck-accent);color:var(--rp-c-brand)!important}.linkCard-cPk9Gt:before{content:"";opacity:0;z-index:-1;border-radius:inherit;background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAZhtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAANGlsb2MAAAAAREAAAgACAAAAAAG8AAEAAAAAAAAAIQABAAAAAAHdAAEAAAAAAAABvgAAADhpaW5mAAAAAAACAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAFWluZmUCAAAAAAIAAGF2MDEAAAAA12lwcnAAAACxaXBjbwAAABNjb2xybmNseAACAAIABoAAAAAMYXYxQ4EEHAAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAAA5waXhpAAAAAAEIAAAAOGF1eEMAAAAAdXJuOm1wZWc6bXBlZ0I6Y2ljcDpzeXN0ZW1zOmF1eGlsaWFyeTphbHBoYQAAAAAMYXYxQ4EkAgAAAAAUaXNwZQAAAAAAAAKQAAAC6AAAABBwaXhpAAAAAAMICAgAAAAeaXBtYQAAAAAAAAACAAEEgYYHiAACBIIDhIUAAAAaaXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAedtZGF0EgAKBxkmaPufhUAyFBIAAABQEnFcCJBhnz/FpaY9OM+oEgAKBzkmaPufgkAysAMSAABBBAFAdwo2pzAtvYEyy/3PwE6f/vhzVuvHj7ra1LLUFgC3vJssr6tiT5FH714XOhDxguZprICt+RLk/AUcLUmu2v7BwLvj/Q/RZRV2gEwa1WNxCssp8DrxwihYCKLptu67qiUdOZR3JH2buMN14AZM0OnnVtEx2EprBbbRRRDdV7ELBX2x7Qn4nh5+aNHZqUE8COGF9GQqEwFmEFwJB76xdUrJ+nhdMSh7MLB0rwyXXDowC5IXFdjL2x4TbTvDrBRx0GmM+Uo0/DzYbiQjN44XpA2TwpEk1q4Rkko8Dp5z2mXIznhPu5kPZz4iCiZO0fsIIEfIAwFsprHlFbettt5CeoXnBr5t3fnn5remeymreTzShDWbm/krXjkhrRKqvQsbhW86//r+7zF/6mMuTWtbFv7uE+Xr4wQvCk4CzjAkPzEuiUj1Ju83O7fBi2GjyKv007HKqJYnOZDybTOI+K0WBp8egtvkuoIbuhRutNAwD+Pw+Yt95zQOaBSux1gRse7Gsqr583Qscbfn0LLj6iIcCddWI0bgu1W8lW62eQC/aPfPY1HY5I4Fq9YY8kA=);background-position:50%;background-repeat:no-repeat;background-size:cover;transition:opacity .3s cubic-bezier(.65,.05,.36,1);position:absolute;top:0;bottom:0;left:0;right:0}.link-zuNVWp:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0}.dark .linkCard-cPk9Gt:before{background-image:url(/react-native-testing-library/static/image/gradient-dark.47ace278.avif)}.linkCard-cPk9Gt:hover:before{opacity:1}.dark .linkCard-cPk9Gt:hover:before{opacity:.5}.linkCardContent-GW7Cr2{flex-direction:column;display:flex}.linkCardTitle-uyQhA8{font-family:var(--ck-header-font-family);font-size:24px;font-weight:500;line-height:1.5}.linkCardDescription-vJgWKQ{font-family:var(--rp-font-family);color:var(--rp-c-text-2);letter-spacing:-.32px;text-align:left;margin-bottom:0;font-size:16px;font-weight:400;line-height:1.5}.container-LzbylO{border-radius:4px;flex-direction:column;gap:16px;padding:0 24px 48px;display:flex;position:relative}.container-LzbylO:before{content:"";width:90%;display:block;position:absolute;top:-1px;left:5%}.headline-y75_LS{color:var(--rp-c-text-1);font-family:var(--ck-header-font-family);letter-spacing:-.64px;margin-bottom:8px;font-size:16px;font-weight:500;line-height:1.2}.description-muYVs3{color:var(--rp-c-text-2);font-family:var(--rp-font-family);letter-spacing:-.28px;font-size:14px;font-weight:400;line-height:1.5}::view-transition-old(root){mix-blend-mode:normal;animation:none}::view-transition-new(root){mix-blend-mode:normal;animation:none}::view-transition-old(root){z-index:1}.dark-q8ZwQl::view-transition-new(root){z-index:1}::view-transition-new(root){z-index:9999}.dark-q8ZwQl::view-transition-old(root){z-index:9999}.container-guehiO{padding-bottom:8px}:root{--rp-container-note-border:var(--rp-c-divider-light);--rp-container-note-text:var(--rp-c-text-1);--rp-container-note-bg:var(--rp-c-bg-soft);--rp-container-note-code-bg:#8080801a;--rp-container-note-link:var(--rp-c-link);--rp-container-tip-border:#079c7033;--rp-container-tip-text:#008555;--rp-container-tip-bg:#f2f9f7;--rp-container-tip-code-bg:#079c701a;--rp-container-info-border:#0095ff33;--rp-container-info-text:#07f;--rp-container-info-bg:#0095ff0f;--rp-container-info-code-bg:#0095ff1a;--rp-container-warning-border:#ffc51766;--rp-container-warning-text:#887233;--rp-container-warning-bg:#ffc5171a;--rp-container-warning-code-bg:#ffc5171a;--rp-container-danger-border:#ed3c5033;--rp-container-danger-text:#ab2131;--rp-container-danger-bg:#ed3c5014;--rp-container-danger-code-bg:#ed3c501a;--rp-container-details-border:var(--rp-c-divider-light);--rp-container-details-text:var(--rp-c-text-1);--rp-container-details-bg:var(--rp-c-bg-soft);--rp-container-details-code-bg:#8080801a;--rp-code-title-bg-with-opacity:color-mix(in srgb,var(--rp-code-title-bg)70%,transparent);--rp-code-block-bg-with-opacity:color-mix(in srgb,var(--rp-code-block-bg)70%,transparent)}.dark{--rp-container-tip-text:#3ec480;--rp-container-tip-bg:#079c701a;--rp-container-info-text:#66c2ff;--rp-container-info-bg:#0095ff1a;--rp-container-warning-text:#fbb451;--rp-container-warning-border:#ffc51740;--rp-container-warning-bg:#ffc5171f;--rp-container-danger-text:#f76e85;--rp-container-danger-border:#ed3c504d;--rp-container-danger-bg:#ed3c501f}.rp-callout{border-radius:var(--rp-radius);border:1px solid #0000;margin:24px 0;padding:20px 24px 12px}.rp-callout__title{margin-bottom:8px;font-size:16px;font-weight:600;position:relative}.rp-callout__title:before{content:"";border-radius:0 20px 20px 0;width:4px;height:110%;position:absolute;top:-5%;left:-24px}.rp-callout__content{font-size:14px;font-weight:400}.rp-callout__content p{margin:8px 0}.rp-callout__content .rp-codeblock__title{background-color:var(--rp-code-title-bg-with-opacity)}.rp-callout__content .rp-codeblock__content{background-color:var(--rp-code-block-bg-with-opacity)}.rp-callout__content a{border-bottom:1px solid}.rp-callout--note{border-color:var(--rp-container-note-border);background-color:var(--rp-container-note-bg)}.rp-callout--note .rp-callout__title{color:var(--rp-container-note-text)}.rp-callout--note .rp-callout__title:before{background-color:var(--rp-container-note-text)}.rp-callout--note :not(:-webkit-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:-moz-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:-webkit-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:-moz-any(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note :not(:is(pre,div))>code{color:var(--rp-container-note-text);background-color:var(--rp-container-note-code-bg)}.rp-callout--note a{color:var(--rp-container-note-text)}.rp-callout--tip{border-color:var(--rp-container-tip-border);background-color:var(--rp-container-tip-bg)}.rp-callout--tip .rp-callout__title{color:var(--rp-container-tip-text)}.rp-callout--tip .rp-callout__title:before{background-color:var(--rp-container-tip-text)}.rp-callout--tip :not(:-webkit-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:-moz-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:-webkit-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:-moz-any(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip :not(:is(pre,div))>code{color:var(--rp-container-tip-text);background-color:var(--rp-container-tip-code-bg)}.rp-callout--tip a{color:var(--rp-container-tip-text)}.rp-callout--info{border-color:var(--rp-container-info-border);background-color:var(--rp-container-info-bg)}.rp-callout--info .rp-callout__title{color:var(--rp-container-info-text)}.rp-callout--info .rp-callout__title:before{background-color:var(--rp-container-info-text)}.rp-callout--info :not(:-webkit-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:-moz-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:-webkit-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:-moz-any(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info :not(:is(pre,div))>code{color:var(--rp-container-info-text);background-color:var(--rp-container-info-code-bg)}.rp-callout--info a{color:var(--rp-container-info-text)}.rp-callout--warning{border-color:var(--rp-container-warning-border);background-color:var(--rp-container-warning-bg)}.rp-callout--warning .rp-callout__title{color:var(--rp-container-warning-text)}.rp-callout--warning .rp-callout__title:before{background-color:var(--rp-container-warning-text)}.rp-callout--warning :not(:-webkit-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:-moz-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:-webkit-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:-moz-any(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning :not(:is(pre,div))>code{color:var(--rp-container-warning-text);background-color:var(--rp-container-warning-code-bg)}.rp-callout--warning a{color:var(--rp-container-warning-text)}.rp-callout--caution,.rp-callout--danger{border-color:var(--rp-container-danger-border);background-color:var(--rp-container-danger-bg)}.rp-callout--caution .rp-callout__title,.rp-callout--danger .rp-callout__title{color:var(--rp-container-danger-text)}.rp-callout--caution .rp-callout__title:before,.rp-callout--danger .rp-callout__title:before{background-color:var(--rp-container-danger-text)}.rp-callout--caution :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution :not(:is(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-webkit-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:-moz-any(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--danger :not(:is(pre,div))>code{color:var(--rp-container-danger-text);background-color:var(--rp-container-danger-code-bg)}.rp-callout--caution a,.rp-callout--danger a{color:var(--rp-container-danger-text)}.rp-callout--details{border-color:var(--rp-container-details-border);background-color:var(--rp-container-details-bg)}.rp-callout--details .rp-callout__title{color:var(--rp-container-details-text)}.rp-callout--details .rp-callout__title:before{background-color:var(--rp-container-details-text)}.rp-callout--details :not(:-webkit-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:-moz-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:-webkit-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:-moz-any(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details :not(:is(pre,div))>code{color:var(--rp-container-details-text);background-color:var(--rp-container-details-code-bg)}.rp-callout--details a{color:var(--rp-container-details-text)}details.rp-callout{font-size:normal;cursor:pointer;margin:24px 0;padding:20px 24px 12px;transition:background-color .3s}details.rp-callout:hover{background-color:var(--rp-c-bg-mute)}.rp-codeblock{border:var(--rp-code-block-border);box-shadow:var(--rp-code-block-shadow);border-radius:var(--rp-radius);margin:1rem 0;transition:none;position:relative;overflow-x:auto}@media (max-width:640px){.rp-codeblock{contain:content;margin:1.5rem 0}}.rp-codeblock__title{font-family:var(--rp-font-family-mono);font-size:var(--rp-code-font-size);background-color:var(--rp-code-title-bg);border-bottom:var(--rp-code-block-border);padding:.75rem 1rem}.rp-codeblock__content{color:var(--rp-code-block-color);background-color:var(--rp-code-block-bg);position:relative}.rp-codeblock__content__scroll-container{overflow-x:auto}.rp-codeblock__content :where(pre){text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none;z-index:1;background:0 0;outline:none;margin:0;position:relative}.rp-codeblock__content :where(code){font-size:var(--rp-code-font-size);font-family:var(--rp-font-family-mono);width:-moz-fit-content;width:fit-content;min-width:100%;padding:1rem 0;line-height:1.7;display:inline-block}.rp-codeblock__content--code-wrap code{white-space:pre-wrap!important;word-break:break-all!important}.rp-codeblock__content--line-numbers code{counter-reset:step;counter-increment:step 0}.rp-codeblock__content--line-numbers code .line:before{content:counter(step);counter-increment:step;text-align:right;color:#738a9466;width:1rem;margin-right:1rem;display:inline-block}:root{--rp-code-button-group-z-index:10}.rp-codeblock__content:hover .rp-code-button-group__button{opacity:1}.rp-code-button-group{z-index:var(--rp-code-button-group-z-index);gap:10px;display:flex;position:absolute;top:20px;right:20px}.rp-code-button-group__button{opacity:0;cursor:pointer;background-color:#0000;justify-content:center;align-items:center;transition:opacity .2s ease-out;display:flex;position:relative}.rp-code-button-group__icon{opacity:inherit;width:20px;height:20px;color:var(--rp-c-text-3);transition:all .2s}.rp-code-button-group__icon:hover{color:var(--rp-c-text-2)}.rp-code-button-group__icon--wrap{opacity:1;transform:scale(1)}.rp-code-button-group__icon--wrapped{opacity:0;color:#00d600;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.rp-code-wrap-button--wrapped .rp-code-button-group__icon--wrap{opacity:0;transform:scale(.33)}.rp-code-wrap-button--wrapped .rp-code-button-group__icon--wrapped{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.rp-code-copy-button{position:relative}.rp-code-copy-button__icon--success{opacity:0;color:#00d600;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.rp-code-copy-button--copied .rp-code-copy-button__icon--copy{opacity:0;transform:scale(.33)}.rp-code-copy-button--copied .rp-code-copy-button__icon--success{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(p){margin-top:1.25rem;margin-bottom:1.25rem;line-height:1.75rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(strong,b){font-weight:600}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(hr){border-color:var(--rp-c-divider-light);border-top-width:1px;margin:3rem 0;display:block}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor)){color:var(--rp-c-link);overflow-wrap:break-word;font-weight:500;text-decoration:none;transition:color .25s;display:inline}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor)):hover{opacity:.85;border-bottom:1px solid}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor))[target=_blank]:after{content:"↗";margin-left:.2em;margin-right:.1em;font-size:.7em;font-weight:700;transition:transform .2s;display:inline-block;transform:translateY(-.3em)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a.rp-link):not(:where(.rp-header-anchor))[target=_blank]:hover:after{transform:translate(.1em,-.5em)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6){outline:none;font-weight:600}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6) .rp-header-anchor{float:left;opacity:0;font-weight:500;font-size:inherit;margin-left:-.8em;transition:color .25s,opacity .25s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6) .rp-header-anchor:hover{border-bottom:1px solid var(--rp-c-brand);opacity:.85}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6):hover .rp-header-anchor{opacity:1}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1,h2,h3,h4,h5,h6):hover .rp-header-anchor:focus{opacity:1}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(.rp-header-anchor){color:var(--rp-c-brand)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h1){margin-bottom:2rem;font-size:2rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h2){margin-top:3rem;margin-bottom:1.25rem;font-size:1.75rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h2:first-of-type):before{content:"";background:var(--rp-c-divider-light);width:100%;height:1px;margin-bottom:3rem;display:block}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h3){margin-top:2rem;margin-bottom:1.25rem;font-size:1.5rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h4){margin-top:1.5rem;margin-bottom:1rem;font-size:1.25rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h5){margin-top:1.25rem;margin-bottom:.75rem;font-size:1.125rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(h6){margin-top:1rem;margin-bottom:.5rem;font-size:1rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(blockquote){border-left:2px solid var(--rp-c-divider);color:var(--rp-c-text-2);margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(blockquote p){color:var(--rp-c-text-2);margin:0;font-size:1rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ul){margin-top:1rem;margin-bottom:1rem;padding-left:1.25rem;line-height:1.75rem;list-style:outside}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ol){margin-top:1rem;margin-bottom:1rem;padding-left:1.25rem;line-height:1.75rem;list-style:decimal}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ul li):not(:first-child){margin-top:.5rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(ol li):not(:first-child){margin-top:.5rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(.rp-table-scroll-container){overflow-x:auto}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table){table-layout:auto;border-collapse:separate;border-spacing:0;border:var(--rp-code-block-border);border-radius:var(--rp-radius);width:100%;overflow:hidden}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table)::-webkit-scrollbar{width:5px;height:5px}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table)::-webkit-scrollbar-corner{display:none}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table)::-webkit-scrollbar-thumb{background-color:#0000000d;border-radius:10px}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(thead){color:var(--rp-c-text-0);background:var(--rp-code-title-bg)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(th){text-align:left;border-bottom:1px solid var(--rp-c-divider-light);padding:.75rem 1.25rem;font-size:.875rem;font-weight:600;position:relative}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tbody){background:var(--rp-c-bg)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(td){border-bottom:1px solid var(--rp-c-divider-light);padding:.75rem 1.25rem;font-size:.875rem}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tr){transition:background-color .2s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tr):hover{background:var(--rp-c-bg-soft)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(tr:last-child td){border-bottom:none}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(pre)>code){font-size:.875em;font-family:var(--rp-font-family-mono);border-radius:var(--rp-radius-small);background-color:var(--rp-c-text-code-bg);border:1px solid var(--rp-c-text-code-border);overflow-wrap:break-word;padding:3px 6px}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-webkit-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-moz-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-webkit-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:-moz-any(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(:not(:is(pre,a))>code){color:var(--rp-c-text-code)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a>code){color:var(--rp-c-brand-dark);transition:color .25s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(a:hover>code){color:var(--rp-c-brand)}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(details){cursor:pointer;margin:16px 0;padding:8px;transition:background-color .3s}.rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(details):hover{background-color:var(--rp-c-bg-mute)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table){border-color:var(--rp-c-divider)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table tr){border-color:var(--rp-c-divider)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table td){border-color:var(--rp-c-divider)}:where(.rp-dark) .rp-doc :not(:where(.rp-not-doc,.rp-not-doc *)):where(table th){border-color:var(--rp-c-divider)}.rp-doc-footer{margin-top:48px}.rp-doc-footer__edit{justify-content:space-between;align-items:center;display:flex}.rp-doc-footer__divider{background-color:var(--rp-c-divider-light);width:100%;height:.5px;margin:48px 0}.rp-edit-link{color:var(--rp-c-brand);font-size:15px;font-weight:500;text-decoration:none;transition:all .2s ease-in-out}.rp-edit-link:hover{color:var(--rp-c-brand-dark)}.rp-home-background{z-index:-1;filter:blur(2px);pointer-events:none;-webkit-user-select:none;user-select:none;background:var(--rp-home-background-bg);width:100%;height:1000px;position:absolute;top:0;left:0}.rp-hover-group{border:var(--rp-code-block-border);background:var(--rp-c-bg);width:auto;min-width:80px;box-shadow:var(--rp-shadow-2);z-index:999;border-radius:8px;flex-direction:column;align-items:flex-start;padding:8px;list-style:none;transition:opacity .3s ease-in-out;display:flex;position:absolute;top:80%}.rp-hover-group--center{left:50%;transform:translate(-50%)}.rp-hover-group--left{left:0;transform:none}.rp-hover-group--right{right:0;transform:none}.rp-hover-group--hidden{visibility:hidden;opacity:0}.rp-hover-group__item{white-space:nowrap;height:32px;color:var(--rp-c-text-1);border-radius:8px;flex:1;align-self:stretch;padding-right:8px;font-size:14px;font-style:normal;font-weight:500;line-height:32px;transition:background-color .3s ease-in-out;display:block}.rp-hover-group__item__link{align-items:center;gap:2px;height:100%;display:flex}.rp-hover-group__item--active{color:var(--rp-c-brand);cursor:auto;pointer-events:none;font-weight:600}.rp-hover-group__item:hover{opacity:.7}.rp-last-updated{color:var(--rp-c-text-3);font-size:14px;font-style:normal;font-weight:400;line-height:20px}.rp-link{cursor:pointer}.rp-nav{height:var(--rp-nav-height);border-bottom:1px solid var(--rp-c-divider-light);background:var(--rp-c-bg);color:var(--rp-c-text-1);--rp-nav-padding-x:20px;padding:0 var(--rp-nav-padding-x)0 var(--rp-nav-padding-x);top:var(--rp-banner-height,0px);z-index:var(--rp-z-index-nav);flex-shrink:0;justify-content:space-between;align-items:center;width:100%;display:flex;position:sticky;left:0}@media (min-width:1280px){.rp-nav{--rp-nav-padding-x:max(calc(( 100vw - var(--rp-content-max-width) - var(--rp-sidebar-width) - var(--rp-outline-width))/2),20px);padding:0 var(--rp-nav-padding-x)0 var(--rp-nav-padding-x)}}.rp-nav__left{display:flex}.rp-nav__title{flex-shrink:0}.rp-nav__title__link{align-items:center;width:100%;height:100%;font-size:1rem;font-weight:600;transition:opacity .3s;display:flex}.rp-nav__title__link:hover{opacity:.6}.rp-nav__title__logo{min-width:2rem;margin-right:.25rem}.rp-nav__title__logo-image{display:block}.rp-nav__title__logo-image--dark{display:none}.rp-nav__right{align-items:center;gap:24px;height:100%;display:flex}@media (max-width:767px){.rp-nav__right{gap:8px}}.rp-nav__others{align-items:center;gap:24px;height:100%;list-style:none;display:flex}@media (max-width:1280px){.rp-nav__others{display:none}}.rp-nav-menu{align-items:center;height:100%;list-style:none;display:inline-flex}@media (min-width:1280px){.rp-nav-menu{gap:32px}}@media (max-width:1279px){.rp-nav-menu{gap:24px}}.rp-nav-menu__item{justify-content:center;align-items:center;height:100%;display:flex;position:relative}.rp-nav-menu__item__container{cursor:pointer;text-align:center;justify-content:center;align-items:center;gap:2px;height:100%;font-size:14px;font-style:normal;font-weight:500;line-height:22px;display:flex}.rp-nav-menu__item__icon{justify-content:center;align-items:center;width:15px;height:15px;transition:transform .3s ease-in-out;display:flex}.rp-nav-menu__item:hover .rp-nav-menu__item__container{color:var(--rp-c-brand);text-align:center;font-size:14px;font-style:normal}.rp-nav-menu__item:hover .rp-nav-menu__item__icon{transform:rotate(180deg)}.rp-nav-menu__item--active .rp-nav-menu__item__container{color:var(--rp-c-brand);text-align:center;font-size:14px;font-style:normal}.rp-nav-menu__divider{background:var(--rp-c-divider);width:1px;height:15px}@media (max-width:1280px){.rp-nav-menu__divider{display:none}}.rp-nav-menu a[target=_blank]:after{content:"↗";color:var(--rp-c-text-3);margin-left:.5em;margin-right:.1em;font-size:.7em;font-weight:700;display:inline-block}@media (max-width:768px){.rp-nav-menu{display:none}}.rspress-logo{height:1.6rem}.dark .rp-nav__title__logo-image--light{display:none}.dark .rp-nav__title__logo-image--dark{display:block}.rp-nav-screen{top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));background-color:var(--rp-c-bg);width:100%;z-index:var(--rp-z-index-nav-screen);padding:24px 48px;display:none;position:fixed;bottom:0;left:0;right:0;overflow-y:auto}.rp-nav-screen--open{display:block}.rp-nav-screen__container{flex-direction:column;align-items:center;gap:2px;display:flex}.rp-nav-screen__others{display:flex}@media (max-width:1280px){.rp-nav-screen__others{display:none}}.rp-nav-screen-divider{background-color:var(--rp-c-divider-light);width:100%;height:1px;margin:1rem 0}.rp-nav-screen-appearance{border-radius:var(--rp-radius-small);justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;font-size:14px;display:flex}.rp-nav-screen-appearance__left,.rp-nav-screen-appearance__right{align-items:center;display:flex}.rp-nav-screen-appearance__icon{transition:transform .3s;transform:rotate(-90deg)}.rp-nav-screen-appearance__icon--open{transform:rotate(0)}.rp-nav-screen-langs{border-radius:var(--rp-radius-small);justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;font-size:14px;display:flex}.rp-nav-screen-langs__left{align-items:center;display:flex}.rp-nav-screen-langs__right{align-items:center;gap:4px;display:flex}.rp-nav-screen-langs__icon{transition:transform .3s;transform:rotate(-90deg)}.rp-nav-screen-langs__icon--open{transform:rotate(0)}.rp-nav-screen-langs-group{width:100%}.rp-nav-screen-langs-group__inner{flex-direction:column;align-items:flex-end;gap:8px;font-size:14px;display:flex;overflow:hidden}.rp-nav-screen-langs-group__item{padding:0 24px}.rp-nav-screen-langs-group__item--active{color:var(--rp-c-text-2);cursor:default;pointer-events:none}.rp-nav-screen-menu-item{border-radius:var(--rp-radius-small);cursor:pointer;justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;transition:background-color .25s ease-in;display:flex}.rp-nav-screen-menu-item:hover{background-color:var(--rp-c-bg-mute)}.rp-nav-screen-menu-item--active{color:var(--rp-c-brand);background-color:var(--rp-c-brand-tint);font-weight:600}.rp-nav-screen-menu-item__left,.rp-nav-screen-menu-item__right{font-size:14px;font-weight:500;line-height:22px}.rp-nav-screen-menu-item__icon{transition:transform .25s ease-in;transform:rotate(-90deg)}.rp-nav-screen-menu-item--open .rp-nav-screen-menu-item__icon{transform:rotate(0)}.rp-nav-screen-menu-item__group{width:100%}.rp-nav-screen-menu-item__group-inner{flex-direction:column;align-items:center;gap:2px;margin-left:8px;display:flex;overflow:hidden}.rp-nav-screen-menu-item.rp-link[target=_blank] .rp-nav-screen-menu-item__left:after{content:"↗";color:var(--rp-c-text-3);margin-left:.2em;margin-right:.1em;font-weight:400;transform:translateY(-.2em)}.rp-nav-screen-menu{flex-direction:column;align-items:center;display:flex}.rp-nav-screen-versions{border-radius:var(--rp-radius-small);justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 12px;font-size:14px;display:flex}.rp-nav-screen-versions__left{align-items:center;display:flex}.rp-nav-screen-versions__right{align-items:center;gap:4px;display:flex}.rp-nav-screen-versions__icon{transition:transform .3s;transform:rotate(-90deg)}.rp-nav-screen-versions__icon--open{transform:rotate(0)}.rp-nav-screen-versions-group{flex-direction:column;align-items:flex-end;gap:8px;width:100%;height:0;font-size:14px;transition:height .3s;display:flex;overflow:hidden}.rp-nav-screen-versions-group__item{padding:0 24px}.rp-nav-screen-versions-group__item--active{color:var(--rp-c-text-2);cursor:default;pointer-events:none}.rp-nav-screen-versions-group--open{height:auto}.rp-nav-hamburger{cursor:pointer;background-color:#0000;border-radius:4px;padding:8px;transition:background-color .3s;display:none}@media (max-width:1280px) and (min-width:769px){.rp-nav-hamburger__md{display:block}}.rp-nav-hamburger__md__hover-group{flex-direction:column;justify-content:center;align-items:center;gap:8px;width:250px;padding:12px;display:flex}@media (max-width:768px){.rp-nav-hamburger__sm{display:block}}.rp-nav-hamburger:hover,.rp-nav-hamburger--active{background-color:var(--rp-c-bg-mute)}:root{--rp-outline-padding-x:20px}.rp-outline{border-left:1px solid var(--rp-c-divider-light);flex-direction:column;display:flex}.rp-outline__title{padding-left:var(--rp-outline-padding-x);padding-right:var(--rp-outline-padding-x);height:32px;color:var(--rp-c-text-1);align-items:center;gap:4px;margin-bottom:4px;font-size:14px;font-style:normal;font-weight:700;line-height:32px;display:inline-flex}@media (max-width:1280px){.rp-outline__title{display:none}}.rp-outline__divider{margin-left:var(--rp-outline-padding-x);margin-right:var(--rp-outline-padding-x);background:var(--rp-c-divider-light);height:1px;margin-top:16px;margin-bottom:16px}.rp-outline__toc{padding-left:var(--rp-outline-padding-x);padding-right:var(--rp-outline-padding-x);flex-direction:column;flex:1;display:flex}@media (max-width:1280px){.rp-outline__toc{max-height:60vh;overflow:auto scroll}}.rp-outline__bottom{padding-left:var(--rp-outline-padding-x);padding-right:var(--rp-outline-padding-x)}.rp-outline__scroll-to-top{cursor:pointer;color:var(--rp-c-text-2);background:0 0;border:none;align-items:center;gap:8px;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;display:flex}.rspress-overview-container{padding:var(--rp-content-padding-y)var(--rp-content-padding-x)}.rp-overview-search{justify-content:flex-start;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.rp-overview-search__label{color:var(--rp-c-text-1);white-space:nowrap;font-weight:500}.rp-overview-search__input{border:1px solid var(--rp-c-divider);background-color:var(--rp-c-bg);color:var(--rp-c-text-1);border-radius:8px;min-width:200px;padding:.5rem .75rem;font-size:.875rem;transition:box-shadow .25s ease-in-out,border-color .25s ease-in-out}.rp-overview-search__input:focus{border-color:var(--rp-c-brand);box-shadow:0 0 0 2px rgba(var(--rp-c-brand-rgb),.2);outline:none}.rp-overview-search__input::placeholder{color:var(--rp-c-text-3)}.rp-overview-search__input::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;opacity:.6;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 24 24%27 stroke=%27currentColor%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M6 18L18 6M6 6l12 12%27/%3E%3C/svg%3E");background-size:14px 14px;width:14px;height:14px}.rp-overview-search__input::-webkit-search-cancel-button:hover{opacity:1}.rp-overview__empty{text-align:center;color:var(--rp-c-text-2);background-color:var(--rp-c-bg-soft);border-radius:8px;margin-top:1rem;padding:2rem;font-style:italic}@media (prefers-color-scheme:dark){.rp-overview-search__input{border-color:var(--rp-c-divider-dark);background-color:var(--rp-c-bg-dark)}}:root{--rp-c-overview-group-bg:var(--rp-c-bg-soft);--rp-c-overview-group-bg-hover:color-mix(in srgb,var(--rp-c-brand-lighter)30%,transparent);--rp-c-overview-group-border:1px solid var(--rp-c-divider-light)}.rp-overview-group{flex-direction:column;gap:20px;width:100%;display:flex}.rp-overview-group__item{border:var(--rp-c-overview-group-border);border-radius:var(--rp-radius);flex-direction:row;width:100%;transition:border-color .2s,box-shadow .2s;display:flex;overflow:hidden}.rp-overview-group__item:hover{border-color:var(--rp-c-brand-light);box-shadow:0 4px 6px #0000000a}.rp-overview-group__item:hover .rp-overview-group__item__title{background-color:var(--rp-c-overview-group-bg-hover)}.rp-overview-group__item:hover .rp-overview-group__item__title .rp-overview-group__item__title__icon{color:var(--rp-c-brand-dark)}@media (max-width:1280px){.rp-overview-group__item{flex-direction:column}.rp-overview-group__item__title{flex:none!important;width:100%!important}}.rp-overview-group__item__title{word-break:break-all;width:25%;color:var(--rp-c-text-1);background-color:var(--rp-c-overview-group-bg);flex:0 0 25%;padding:16px 20px;font-size:18px;font-weight:600;transition:background-color .2s;position:relative;overflow:hidden}.rp-overview-group__item__title__link,.rp-overview-group__item__title__text{color:inherit;text-decoration:none}.rp-overview-group__item__title__link:hover,.rp-overview-group__item__title__text:hover{color:var(--rp-c-brand)}.rp-overview-group__item__title__icon{-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--rp-c-text-1);position:absolute;bottom:0;right:0}.rp-overview-group__item__content{flex-flow:wrap;flex:1;row-gap:20px;margin:0;padding:16px;list-style:none;display:flex}.rp-overview-group__item__content__item{word-break:break-all;flex:0 0 200px;width:200px;min-width:25%;max-width:25%}@media (min-width:769px) and (max-width:1280px){.rp-overview-group__item__content__item{min-width:33%;max-width:33%}}@media (max-width:768px){.rp-overview-group__item__content__item{flex:200px;min-width:50%;max-width:100%}}.rp-overview-group__item__content__item__link{color:var(--rp-c-text-2);padding:4px 8px;font-size:14px;text-decoration:none;transition:color .2s,background-color .2s;display:inline-block}.rp-overview-group__item__content__item__link:hover{color:var(--rp-c-brand);background-color:var(--rp-c-bg)}.rp-overview-group__grid{grid-template-columns:repeat(4,1fr);gap:20px;width:100%;display:grid}@media (max-width:1280px){.rp-overview-group__grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:768px){.rp-overview-group__grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.rp-overview-group__grid{grid-template-columns:1fr}}.rp-overview-group__grid-item{border:1px solid var(--rp-c-divider-light);border-radius:var(--rp-radius);transition:border-color .2s,box-shadow .2s,background-color .2s}.rp-overview-group__grid-item.rp-overview-group__item__title{flex:none;width:100%}.rp-overview-group__grid-item:hover{border-color:var(--rp-c-brand-light);background-color:var(--rp-c-overview-group-bg-hover);box-shadow:0 4px 6px #0000000a}.rp-overview-group__grid-item:hover .rp-overview-group__item__title__icon{color:var(--rp-c-brand-dark)}html.rp-dark .rp-overview-group__item:hover .rp-overview-group__item__title__icon,html.rp-dark .rp-overview-group__grid-item:hover .rp-overview-group__item__title__icon{color:#fff}.rp-prev-next-page{justify-content:space-between;align-self:stretch;align-items:center;display:flex}.rp-prev-next-page__item{cursor:pointer;border-radius:8px;flex-direction:column;flex:1;justify-content:center;padding:12px;display:flex}.rp-prev-next-page__item__title{align-items:center;gap:.25rem;display:flex}.rp-prev-next-page__item__desc{color:var(--rp-c-text-3);padding:0 1.25rem;font-size:.75rem;font-style:normal;font-weight:400;line-height:20px;display:block}.rp-prev-next-page__item:hover{opacity:.7;background-color:var(--rp-c-bg-mute)}.rp-prev-next-page__icon{font-size:1rem;display:inline-flex}.rp-prev-next-page__placeholder{flex:1}.rp-prev-next-page__prev{align-items:flex-start}.rp-prev-next-page__next{align-items:flex-end}.rp-prev-next-page__rotate_180{transform:rotate(180deg)}.rp-progress-circle{display:inline-flex}.rp-search-button{border-radius:var(--rp-radius-small);background-color:color-mix(in srgb,var(--rp-c-bg)30%,transparent);-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);border:1px solid var(--rp-c-divider-light);cursor:pointer;justify-content:space-between;align-items:center;min-width:140px;height:40px;padding:0 10px;font-size:13px;transition:border-color .3s;display:flex}.rp-search-button:hover{border:1px solid var(--rp-c-brand)}.rp-search-button:hover .rp-search-button__word{color:var(--rp-c-text-1)}.rp-search-button__content{word-break:keep-all;align-items:center;gap:4px;font-size:14px;display:flex}.rp-search-button__word{white-space:nowrap;color:var(--rp-c-text-2);font-weight:500}.rp-search-button__icon{font-size:20px;display:inline-block}.rp-search-button__hotkey{background-color:var(--rp-c-bg-soft);border-radius:var(--rp-radius-small);color:var(--rp-c-gray);padding:0 8px;font-weight:500;transition:opacity .3s}.rp-search-button--mobile{cursor:pointer;justify-content:center;align-items:center;font-weight:500;display:none}@media (max-width:768px){.rp-search-button{display:none}.rp-search-button--mobile{display:flex}}.rp-no-search-result{flex-direction:column;align-items:center;padding-top:2rem;padding-bottom:.5rem;display:flex}.rp-no-search-result__icon{opacity:.8;margin-bottom:1rem}.rp-no-search-result__text{margin-bottom:.5rem}.rp-no-search-result__suggestion{margin:0}.rp-search-panel__mask{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:100;background:#3c3c3c66;position:fixed;top:0;bottom:0;left:0;right:0}.rp-search-panel__modal{background-color:var(--rp-c-bg-soft);border-radius:var(--rp-radius);max-width:560px;height:auto;margin:80px auto auto;padding:20px;position:relative}.rp-search-panel__header{align-items:center;display:flex}.rp-search-panel__cancel{color:var(--rp-c-brand);cursor:pointer;margin-left:.5rem}@media (min-width:640px){.rp-search-panel__cancel{display:none}}.rp-search-panel__input-form{background-color:var(--rp-c-bg);border:1px solid var(--rp-c-brand);border-radius:var(--rp-radius-small);align-items:center;width:100%;height:55px;padding:0 12px;display:flex}.rp-search-panel__input{background-color:var(--rp-c-bg);outline:none;flex:1;width:80%;height:100%;padding-left:8px;font-size:20px;font-weight:500}.dark .rp-search-panel__input{color:var(--rp-c-text)}.rp-search-panel__close:hover{cursor:pointer;color:var(--rp-c-brand);transition:color .3s}.rp-search-panel__results{max-height:calc(100vh - 230px);padding-right:2px;overflow:scroll}.rp-search-panel__loading{opacity:.8;flex-direction:column;align-items:center;margin:2rem 0;display:flex}.rp-search-panel__tabs{background-color:var(--rp-c-bg-soft);padding-bottom:6px;position:sticky}.rp-search-panel__tabs.rp-tabs{border:none;border-radius:0;margin:0}.rp-search-panel__group{padding-bottom:.5rem}@media (max-width:960px){.rp-search-panel__modal{margin-top:0}.rp-search-panel__input-form{height:40px}.rp-search-panel__input-form svg{width:16px;height:16px}.rp-search-panel__input{font-size:16px}}.rp-suggest-item{box-sizing:border-box;margin:5px 2px;list-style:none}.dark .rp-suggest-item,.dark .rp-suggest-item .rp-suggest-item__link{box-shadow:none}.rp-suggest-item .rp-suggest-item__link{color:var(--rp-c-text-1);background-color:var(--rp-c-bg);border-radius:var(--rp-radius-small);width:100%;padding-left:12px;display:flex;box-shadow:0 1px 3px #d4d9e1}.rp-suggest-item--current .rp-suggest-item__link{background-color:var(--rp-c-brand);cursor:pointer;color:#fff}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__icon{color:#fff}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__action-icon{opacity:1}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__content .rp-suggest-item__statement{color:#fff}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__content .rp-suggest-item__mark{color:#fff;text-decoration:underline}.rp-suggest-item--current .rp-suggest-item__container .rp-suggest-item__content .rp-suggest-item__title{color:#fff}.rp-suggest-item__container{align-items:center;width:100%;min-height:56px;padding-right:12px;font-weight:500;display:flex}.rp-suggest-item__icon{color:var(--rp-c-gray-light-1)}.rp-suggest-item__content{width:100%;padding:6px 8px;font-size:14px;line-height:1.5}.rp-suggest-item__header{font-weight:500}.rp-suggest-item__statement{width:100%;font-size:.875rem}.rp-suggest-item__mark{color:var(--rp-c-brand)}.rp-suggest-item__title{color:var(--rp-c-gray-light-1);font-size:12px;font-weight:600}.rp-suggest-item__action-icon{opacity:0}.rp-sidebar-divider{border-top:1px solid var(--rp-c-divider-light);margin-top:.75rem;margin-bottom:.75rem}.rp-sidebar-divider--dashed{border-top:1px dashed var(--rp-c-divider-light);margin-top:.75rem;margin-bottom:.75rem}.rp-sidebar-group{color:var(--rp-c-text-1)}.rp-sidebar-item{cursor:pointer;color:var(--rp-c-text-2);border-radius:8px;justify-content:space-between;align-items:center;margin-top:2px;padding:6px 12px;font-size:14px;font-weight:400;line-height:24px;transition:color .15s,background-color .15s;display:flex;position:relative}.rp-sidebar-item:first-child{margin-top:0}.rp-sidebar-item:hover,.rp-sidebar-item--pending{color:var(--rp-c-text-1);background-color:var(--rp-c-bg-mute)}.rp-sidebar-item--pending{opacity:.8}.rp-sidebar-item.rp-link[target=_blank]:after{content:"↗";margin-left:.2em;margin-right:.1em;font-size:1em;font-weight:400;transition:transform .2s;display:inline-block;transform:translateY(-.2em)}.rp-sidebar-item--active{color:var(--rp-c-link);background-color:var(--rp-c-brand-tint);font-weight:600}.rp-sidebar-item--active:hover{color:var(--rp-c-link);background-color:var(--rp-c-brand-tint)}.rp-sidebar-item--group-item:before{content:"";background-color:var(--rp-c-divider-light);width:1px;position:absolute;top:0;bottom:0;left:12px}.rp-sidebar-item--group-item.rp-sidebar-item--active .rp-sidebar-item__left:before{content:"";background-color:var(--rp-c-brand);width:1px;height:calc(50% - 4px);position:absolute;top:calc(25% + 2px);bottom:0;left:12px}.rp-sidebar-item__left{align-items:center;gap:4px;display:flex}.rp-sidebar-item__right{align-items:center;display:flex}.rp-sidebar-item__link{opacity:1}.rp-sidebar-section-header{justify-content:space-between;align-items:center;margin-top:16px;padding:4px 12px;display:flex}.rp-sidebar-section-header:first-child{margin-top:0}.rp-sidebar-section-header__left{color:var(--rp-c-text-1);align-items:center;font-size:14px;font-weight:600;display:flex}.rp-sidebar-section-header__right{align-items:center;display:flex}.rp-social-links{align-items:center;gap:24px;height:100%;min-height:40px;display:flex;position:relative}.rp-social-links__item{justify-content:center;align-items:center;height:100%;display:flex;position:relative}.rp-social-links__item__hover-group{width:auto}.rp-social-links__item__text{word-break:keep-all;white-space:nowrap}.rp-social-links__icon{width:20px;height:20px;color:var(--rp-c-text-2);align-items:center;display:flex}.rp-social-links__icon:hover{color:var(--rp-c-text-1)}.rp-social-links__hidden{flex-wrap:nowrap;gap:1rem;display:flex}.rp-tabs{contain:content;border-radius:var(--rp-radius);border:var(--rp-code-block-border);box-shadow:var(--rp-code-block-shadow);margin:1rem 0}.rp-tabs .rp-tabs,.rp-tabs .rp-codeblock{border:none;border-radius:0;margin:0}.rp-tabs .rp-codeblock .rp-codeblock__title{padding:8px 12px}.rp-tabs__label{background-color:var(--rp-code-title-bg);border-bottom:var(--rp-code-block-border);flex-wrap:wrap;min-width:100%;padding:4px 12px;display:flex}.rp-tabs__label--no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.rp-tabs__label--no-scrollbar::-webkit-scrollbar{display:none}.rp-tabs__label__item{word-break:keep-all;color:var(--rp-c-text-2);box-sizing:border-box;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:var(--rp-radius-small);margin-right:4px;padding:4px 12px;font-size:.875rem;transition:color .2s ease-out,background-color .2s ease-out;position:relative}.rp-tabs__label__item:last-child{margin-right:0}.rp-tabs__label__item--not-selected:hover{background-color:var(--rp-c-bg-mute)}.rp-tabs__label__item--selected{color:var(--rp-c-text-0);background-color:var(--rp-c-bg);box-shadow:0px 0px 3px 0px var(--rp-c-divider)}.rp-tabs__content__item--active{display:block}.rp-tabs__content__item--hidden{display:none}.dark .rp-tabs__label__item--selected{background-color:var(--rp-c-bg-soft)}.rp-toc-item{justify-content:flex-start;align-self:stretch;align-items:flex-start;margin-top:10px;line-height:1.4;display:block;position:relative}.rp-toc-item:first-child{margin-top:0}.rp-toc-item__text{color:var(--rp-c-text-2);overflow-wrap:break-word;font-size:14px;font-weight:400}.rp-toc-item--active .rp-toc-item__text,.rp-toc-item--active .rp-toc-item__text code{color:var(--rp-c-link)}.rp-toc-item--active:before{content:"";background-color:var(--rp-c-brand);width:1px;height:100%;left:calc(-1*var(--rp-outline-padding-x));display:block;position:absolute;top:0}.rp-sidebar-menu{background-color:var(--rp-c-bg);border-bottom:1px solid var(--rp-c-divider-light);justify-content:space-between;align-items:center;width:100%;height:100%;padding:0 20px;font-size:14px;font-style:normal;font-weight:600;display:flex}.rp-sidebar-menu__left,.rp-sidebar-menu__right{background:0 0;align-items:center;gap:8px;height:100%;display:flex}@media (min-width:1280px){.rp-sidebar-menu{display:none}}.rp-sidebar-menu__mask{z-index:var(--rp-z-index-mask);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background-color:color-mix(in srgb,var(--rp-c-bg)60%,transparent);display:none;position:fixed;top:0;bottom:0;left:0;right:0}@media (max-width:767px){.rp-sidebar-menu__mask{display:block}}:root{--rp-z-index-nav-screen:70;--rp-z-index-nav:60;--rp-z-index-mask:20;--rp-z-index-sidebar:50;--rp-z-index-sidebar-menu:30;--rp-z-index-aside:40;--rp-nav-height:64px;--rp-sidebar-width:320px;--rp-sidebar-menu-height:46px;--rp-sidebar-padding:20px;--rp-outline-width:268px;--rp-content-padding-x:80px;--rp-content-padding-y:48px;--rp-content-max-width:1000px;--rp-sidebar-margin-left:calc(max(0px,calc((100vw - var(--rp-content-max-width))/2 - var(--rp-sidebar-width))));--rp-outline-margin-right:calc(max(0px,calc((100vw - var(--rp-content-max-width))/2 - var(--rp-outline-width))))}@media (min-width:1280px){html:root{--rp-sidebar-menu-height:0px}}.rp-doc-layout__container{flex-direction:row;justify-content:flex-start;width:100%;margin:0;padding:0;display:flex;position:relative}.rp-doc-layout__doc{flex-direction:column;width:100%;display:flex;position:relative;overflow-x:auto}.rp-doc-layout__overview{width:100%;max-width:min(100%,1280px);padding:var(--rp-content-padding-y)var(--rp-content-padding-x);position:relative;overflow-x:auto}.rp-doc-layout__sidebar{width:var(--rp-sidebar-width);max-width:var(--rp-sidebar-width);min-width:var(--rp-sidebar-width);height:calc(100vh - var(--rp-nav-height) - var(--rp-banner-height,0px));max-height:calc(100vh - var(--rp-nav-height) - var(--rp-banner-height,0px));padding:var(--rp-sidebar-padding);border-right:1px solid var(--rp-c-divider-light);margin-top:calc(-1*var(--rp-sidebar-menu-height));top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));z-index:var(--rp-z-index-sidebar);background:var(--rp-c-bg);position:sticky;bottom:0;left:0;overflow:auto scroll}.rp-doc-layout__doc-container{padding:var(--rp-content-padding-y)var(--rp-content-padding-x)}.rp-doc-layout__outline{width:var(--rp-outline-width);top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));margin-top:var(--rp-sidebar-menu-height);z-index:var(--rp-z-index-aside);padding-top:var(--rp-content-padding-y);scrollbar-width:none;max-height:calc(100vh - var(--rp-nav-height) - var(--rp-banner-height,0px));box-shadow:var(--rp-shadow-1);position:sticky;right:0;overflow:hidden scroll}.rp-doc-layout__menu{top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));z-index:var(--rp-z-index-sidebar-menu);height:var(--rp-sidebar-menu-height);position:sticky;left:0}.rp-doc-layout__menu__placeholder{width:100%;height:var(--rp-sidebar-menu-height);min-height:var(--rp-sidebar-menu-height);display:block}@media (min-width:1280px){.rp-doc-layout__doc{max-width:min(100%,var(--rp-content-max-width));flex:1;overflow-x:auto}.rp-doc-layout__doc--wide{max-width:min(100%,var(--rp-content-max-width) + var(--rp-sidebar-width) + var(--rp-outline-width))}.rp-doc-layout__sidebar{margin-left:var(--rp-sidebar-margin-left)}.rp-doc-layout__sidebar-placeholder{width:var(--rp-sidebar-width);margin-left:var(--rp-sidebar-margin-left)}.rp-doc-layout__outline{margin-right:var(--rp-outline-margin-right);padding-bottom:var(--rp-content-padding-y)}.rp-doc-layout__outline-placeholder{width:var(--rp-outline-width);margin-right:var(--rp-outline-margin-right)}}@media (max-width:1279px){:root{--rp-content-padding-x:36px;--rp-content-padding-y:48px}.rp-doc-layout__outline{background-color:color-mix(in srgb,var(--rp-c-bg)60%,transparent);-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);border-radius:var(--rp-radius-small);max-width:100%;box-shadow:var(--rp-shadow-2);visibility:hidden;opacity:0;padding:20px 0;transition:opacity .2s,transform .2s cubic-bezier(.19,1,.22,1);position:fixed;transform:translateY(-10px)}.rp-doc-layout__outline:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.rp-doc-layout__outline:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.rp-doc-layout__outline:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.rp-doc-layout__outline:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.rp-doc-layout__outline--open{opacity:1;visibility:visible;display:block;transform:translate(0,0)}}@media (max-width:768px){:root{--rp-content-padding-x:24px}.rp-doc-layout__sidebar{z-index:var(--rp-z-index-sidebar);top:calc(var(--rp-nav-height) + var(--rp-banner-height,0px));height:calc(100vh - var(--rp-nav-height));padding:var(--rp-sidebar-padding)var(--rp-sidebar-padding)calc(var(--rp-sidebar-padding) + 100px)var(--rp-sidebar-padding);background:var(--rp-c-bg);opacity:0;margin-top:0;transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1);position:fixed;overflow:auto scroll;transform:translate(-100%)}.rp-doc-layout__sidebar--open{opacity:1;visibility:visible;left:0;transform:translate(0,0)}}.rp-not-found{text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;margin:0 auto;padding:4rem;display:flex}@media (max-width:640px){.rp-not-found{padding:6rem 2rem 10rem}}.rp-not-found__error-code{font-size:3.75rem;font-weight:600}.rp-not-found__title{padding-top:.75rem;font-size:1.25rem;font-weight:700;line-height:1.25}.rp-not-found__divider{background-color:var(--rp-c-gray-light-1);width:4rem;height:1px;margin:1.5rem auto 1.125rem}.rp-not-found__action{padding-top:1.25rem}.rp-not-found__home-link{border-style:solid;border-width:1px;border-color:var(--rp-c-brand);color:var(--rp-c-brand);border-radius:1rem;padding:.5rem 1rem;font-weight:500;transition:color .3s,border-color .3s;display:inline-block}.rp-not-found__home-link:hover{border-color:var(--rp-c-brand-dark);color:var(--rp-c-brand-dark)}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:999} \ No newline at end of file diff --git a/static/js/async/3736.872f8fba.js b/static/js/async/3736.872f8fba.js deleted file mode 100644 index c9632e81..00000000 --- a/static/js/async/3736.872f8fba.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["3736"],{536(t,e,i){i.r(e),i.d(e,{default:()=>r});var a=i(4848),n=i(8453);function s(t){return(0,a.jsx)(a.Fragment,{})}function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(s,{...t})}):s(t)}r.__RSPRESS_PAGE_META={},r.__RSPRESS_PAGE_META["14.x%2Findex.md"]={toc:[],title:"",headingTitle:"",frontmatter:{pageType:"home",hero:{name:"React Native Testing Library",image:{src:"/img/owl.png"},tagline:"Helps you to write better tests with less effort.",actions:[{theme:"brand",text:"Quick Start",link:"/14.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/14.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:"✨"},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:"✅"},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:"❤️"}]}}}}]); \ No newline at end of file diff --git a/static/js/async/3736.f43639cb.js b/static/js/async/3736.f43639cb.js new file mode 100644 index 00000000..acf1b903 --- /dev/null +++ b/static/js/async/3736.f43639cb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["3736"],{536(t,e,i){i.r(e),i.d(e,{default:()=>s});var a=i(4848),n=i(8453);function r(t){return(0,a.jsx)(a.Fragment,{})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(r,{...t})}):r(t)}s.__RSPRESS_PAGE_META={},s.__RSPRESS_PAGE_META["14.x%2Findex.md"]={toc:[],title:"",headingTitle:"",frontmatter:{pageType:"home",hero:{image:{src:{light:"/img/logo-light.svg",dark:"/img/logo-dark.svg"}},name:"JavaScript Integration testing for React Native",tagline:"The more your tests resemble the way your software is used, the more confidence they can give you.
                    — Kent C. Dodds",actions:[{theme:"brand",text:"Quick Start",link:"/14.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/14.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:''},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:''},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:''}]}}}}]); \ No newline at end of file diff --git a/static/js/async/4566.38deb673.js b/static/js/async/4566.38deb673.js deleted file mode 100644 index 5398e28a..00000000 --- a/static/js/async/4566.38deb673.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["4566"],{1925(t,e,i){i.r(e),i.d(e,{default:()=>r});var a=i(4848),n=i(8453);function s(t){return(0,a.jsx)(a.Fragment,{})}function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(s,{...t})}):s(t)}r.__RSPRESS_PAGE_META={},r.__RSPRESS_PAGE_META["12.x%2Findex.md"]={toc:[],title:"",headingTitle:"",frontmatter:{pageType:"home",hero:{name:"React Native Testing Library",image:{src:"/img/owl.png"},tagline:"Helps you to write better tests with less effort.",actions:[{theme:"brand",text:"Quick Start",link:"/12.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/12.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:"✨"},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:"✅"},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:"❤️"}]}}}}]); \ No newline at end of file diff --git a/static/js/async/4566.ce79c702.js b/static/js/async/4566.ce79c702.js new file mode 100644 index 00000000..dc1c355e --- /dev/null +++ b/static/js/async/4566.ce79c702.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["4566"],{1925(t,e,i){i.r(e),i.d(e,{default:()=>s});var a=i(4848),n=i(8453);function r(t){return(0,a.jsx)(a.Fragment,{})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(r,{...t})}):r(t)}s.__RSPRESS_PAGE_META={},s.__RSPRESS_PAGE_META["12.x%2Findex.md"]={toc:[],title:"",headingTitle:"",frontmatter:{pageType:"home",hero:{image:{src:{light:"/img/logo-light.svg",dark:"/img/logo-dark.svg"}},name:"JavaScript Integration testing for React Native",tagline:"The more your tests resemble the way your software is used, the more confidence they can give you.
                    — Kent C. Dodds",actions:[{theme:"brand",text:"Quick Start",link:"/12.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/12.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:''},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:''},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:''}]}}}}]); \ No newline at end of file diff --git a/static/js/async/7783.17ebf941.js b/static/js/async/7783.17ebf941.js new file mode 100644 index 00000000..3dee9464 --- /dev/null +++ b/static/js/async/7783.17ebf941.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["7783"],{6954(t,e,i){i.r(e),i.d(e,{default:()=>s});var a=i(4848),n=i(8453);function r(t){return(0,a.jsx)(a.Fragment,{})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(r,{...t})}):r(t)}s.__RSPRESS_PAGE_META={},s.__RSPRESS_PAGE_META["13.x%2Findex.md"]={toc:[],title:"",headingTitle:"",frontmatter:{pageType:"home",hero:{image:{src:{light:"/img/logo-light.svg",dark:"/img/logo-dark.svg"}},name:"JavaScript Integration testing for React Native",tagline:"The more your tests resemble the way your software is used, the more confidence they can give you.
                    — Kent C. Dodds",actions:[{theme:"brand",text:"Quick Start",link:"/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:''},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:''},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:''}]}}}}]); \ No newline at end of file diff --git a/static/js/async/7783.69d49e70.js b/static/js/async/7783.69d49e70.js deleted file mode 100644 index c48c029a..00000000 --- a/static/js/async/7783.69d49e70.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["7783"],{6954(t,e,i){i.r(e),i.d(e,{default:()=>r});var a=i(4848),n=i(8453);function s(t){return(0,a.jsx)(a.Fragment,{})}function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(s,{...t})}):s(t)}r.__RSPRESS_PAGE_META={},r.__RSPRESS_PAGE_META["13.x%2Findex.md"]={toc:[],title:"",headingTitle:"",frontmatter:{pageType:"home",hero:{name:"React Native Testing Library",image:{src:"/img/owl.png"},tagline:"Helps you to write better tests with less effort.",actions:[{theme:"brand",text:"Quick Start",link:"/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:"✨"},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:"✅"},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:"❤️"}]}}}}]); \ No newline at end of file diff --git a/static/js/index.07f2fda0.js b/static/js/index.07f2fda0.js deleted file mode 100644 index 8a319285..00000000 --- a/static/js/index.07f2fda0.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,t,n,a,i,d,r,o={4480(e,t,n){n.d(t,{Y:()=>a,z:()=>i});let a={pages:[{title:"Network Requests",routePath:"/12.x/cookbook/advanced/network-requests",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Phonebook Example",id:"phonebook-example",depth:2,charIndex:568},{text:"Start testing with a simple test",id:"start-testing-with-a-simple-test",depth:2,charIndex:4116},{text:"Testing error handling",id:"testing-error-handling",depth:2,charIndex:7189},{text:"Global guarding against unwanted API requests",id:"global-guarding-against-unwanted-api-requests",depth:2,charIndex:9007},{text:"Conclusion",id:"conclusion",depth:2,charIndex:10029},{text:"Further Reading and Alternatives",id:"further-reading-and-alternatives",depth:2,charIndex:10651}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/advanced/network-requests.md"},{title:"Async tests",routePath:"/12.x/cookbook/basics/async-tests",lang:"en",toc:[{text:"Summary",id:"summary",depth:2,charIndex:3},{text:"Example",id:"example",depth:3,charIndex:911},{text:"Async utilities",id:"async-utilities",depth:2,charIndex:2056},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"Example",id:"example-1",depth:4,charIndex:2876},{text:"`waitFor` function",id:"waitfor-function",depth:3,charIndex:-1},{text:"Example",id:"example-2",depth:4,charIndex:3648},{text:"`waitForElementToBeRemoved` function",id:"waitforelementtoberemoved-function",depth:3,charIndex:-1},{text:"Example",id:"example-3",depth:4,charIndex:4467},{text:"Fake Timers",id:"fake-timers",depth:2,charIndex:4545}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/basics/async-tests.md"},{title:"Custom `render` function",routePath:"/12.x/cookbook/basics/custom-render",lang:"en",toc:[{text:"Summary",id:"summary",depth:3,charIndex:25},{text:"Example",id:"example",depth:3,charIndex:318},{text:"More info",id:"more-info",depth:3,charIndex:940},{text:"Additional params",id:"additional-params",depth:4,charIndex:952},{text:"Multiple functions",id:"multiple-functions",depth:4,charIndex:1262},{text:"Async function",id:"async-function",depth:4,charIndex:1553}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/basics/custom-render.md"},{title:"Introduction",routePath:"/12.x/cookbook/",lang:"en",toc:[{text:"What's Inside the Cookbook?",id:"whats-inside-the-cookbook",depth:2,charIndex:434},{text:"What's Next?",id:"whats-next",depth:2,charIndex:1045}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/index.md"},{title:"Jotai",routePath:"/12.x/cookbook/state-management/jotai",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Task List Example",id:"task-list-example",depth:2,charIndex:337},{text:"Starting with a Simple Test",id:"starting-with-a-simple-test",depth:2,charIndex:1145},{text:"Custom Render Function to populate Jotai Atoms with Initial Values",id:"custom-render-function-to-populate-jotai-atoms-with-initial-values",depth:2,charIndex:1608},{text:"Testing the `TaskList` Component with initial tasks",id:"testing-the-tasklist-component-with-initial-tasks",depth:2,charIndex:-1},{text:"Modifying atom outside of React components",id:"modifying-atom-outside-of-react-components",depth:2,charIndex:4391},{text:"Testing atom outside of React components",id:"testing-atom-outside-of-react-components",depth:2,charIndex:4992},{text:"Conclusion",id:"conclusion",depth:2,charIndex:5673}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/state-management/jotai.md"},{title:"Testing environment",routePath:"/12.x/docs/advanced/testing-env",lang:"en",toc:[{text:"React renderers",id:"react-renderers",depth:2,charIndex:659},{text:"React Test Renderer",id:"react-test-renderer",depth:2,charIndex:1382},{text:"Element tree",id:"element-tree",depth:2,charIndex:2783},{text:"Host and composite components",id:"host-and-composite-components",depth:2,charIndex:3593},{text:"Differentiating between host and composite elements",id:"differentiating-between-host-and-composite-elements",depth:3,charIndex:5563},{text:"Tree nodes",id:"tree-nodes",depth:2,charIndex:6086},{text:"Asserting props",id:"asserting-props",depth:3,charIndex:6402},{text:"Tree navigation",id:"tree-navigation",depth:2,charIndex:7245},{text:"Queries",id:"queries",depth:2,charIndex:7978}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/advanced/testing-env.mdx"},{title:"Understanding `act` function",routePath:"/12.x/docs/advanced/understanding-act",lang:"en",toc:[{text:"`act` warnings",id:"act-warnings",depth:2,charIndex:-1},{text:"Synchronous `act`",id:"synchronous-act",depth:2,charIndex:-1},{text:"Responsibility",id:"responsibility",depth:3,charIndex:1020},{text:"When to use act",id:"when-to-use-act",depth:3,charIndex:2811},{text:"Implementation",id:"implementation",depth:3,charIndex:3903},{text:"Asynchronous `act`",id:"asynchronous-act",depth:2,charIndex:-1},{text:"Asynchronous code",id:"asynchronous-code",depth:3,charIndex:4894},{text:"Solution with fake timers",id:"solution-with-fake-timers",depth:3,charIndex:6206},{text:"Solution with real timers",id:"solution-with-real-timers",depth:3,charIndex:6721},{text:"Async act warning",id:"async-act-warning",depth:3,charIndex:8147},{text:"References",id:"references",depth:2,charIndex:8785}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/advanced/understanding-act.mdx"},{title:"API Overview",routePath:"/12.x/docs/api",lang:"en",toc:[],frontmatter:{uri:"/api"},version:"12.x",_relativePath:"12.x/docs/api.md"},{title:"Fire Event API",routePath:"/12.x/docs/api/events/fire-event",lang:"en",toc:[{text:"`fireEvent.press`",id:"fireeventpress",depth:3,charIndex:-1},{text:"`fireEvent.changeText`",id:"fireeventchangetext",depth:3,charIndex:-1},{text:"`fireEvent.scroll`",id:"fireeventscroll",depth:3,charIndex:-1},{text:"On a `ScrollView`",id:"on-a-scrollview",depth:4,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/events/fire-event.mdx"},{title:"User Event interactions",routePath:"/12.x/docs/api/events/user-event",lang:"en",toc:[{text:"Comparison with Fire Event API",id:"comparison-with-fire-event-api",depth:2,charIndex:81},{text:"`setup()`",id:"setup",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`press()`",id:"press",depth:2,charIndex:-1},{text:"`longPress()`",id:"longpress",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"`type()`",id:"type",depth:2,charIndex:-1},{text:"Options",id:"options-2",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events",depth:3,charIndex:-1},{text:"`clear()`",id:"clear",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-1",depth:3,charIndex:-1},{text:"`paste()`",id:"paste",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-2",depth:3,charIndex:-1},{text:"`scrollTo()`",id:"scroll-to",depth:2,charIndex:-1},{text:"Options",id:"options-3",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-3",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/events/user-event.mdx"},{title:"Jest matchers",routePath:"/12.x/docs/api/jest-matchers",lang:"en",toc:[{text:"Setup",id:"setup",depth:2,charIndex:250},{text:"Migration from legacy Jest Native matchers.",id:"migration-from-legacy-jest-native-matchers",depth:2,charIndex:721},{text:"Checking element existence",id:"checking-element-existence",depth:2,charIndex:885},{text:"`toBeOnTheScreen()`",id:"tobeonthescreen",depth:3,charIndex:-1},{text:"Element Content",id:"element-content",depth:2,charIndex:1174},{text:"`toHaveTextContent()`",id:"tohavetextcontent",depth:3,charIndex:-1},{text:"`toContainElement()`",id:"tocontainelement",depth:3,charIndex:-1},{text:"`toBeEmptyElement()`",id:"tobeemptyelement",depth:3,charIndex:-1},{text:"Checking element state",id:"checking-element-state",depth:2,charIndex:1916},{text:"`toHaveDisplayValue()`",id:"tohavedisplayvalue",depth:3,charIndex:-1},{text:"`toHaveAccessibilityValue()`",id:"tohaveaccessibilityvalue",depth:3,charIndex:-1},{text:"`toBeEnabled()` / `toBeDisabled`",id:"tobeenabled--tobedisabled",depth:3,charIndex:-1},{text:"`toBeSelected()`",id:"tobeselected",depth:3,charIndex:-1},{text:"`toBeChecked()` / `toBePartiallyChecked()`",id:"tobechecked--tobepartiallychecked",depth:3,charIndex:-1},{text:"`toBeExpanded()` / `toBeCollapsed()`",id:"tobeexpanded--tobecollapsed",depth:3,charIndex:-1},{text:"`toBeBusy()`",id:"tobebusy",depth:3,charIndex:-1},{text:"Checking element style",id:"checking-element-style",depth:2,charIndex:5076},{text:"`toBeVisible()`",id:"tobevisible",depth:3,charIndex:-1},{text:"`toHaveStyle()`",id:"tohavestyle",depth:3,charIndex:-1},{text:"Other matchers",id:"other-matchers",depth:2,charIndex:5554},{text:"`toHaveAccessibleName()`",id:"tohaveaccessiblename",depth:3,charIndex:-1},{text:"`toHaveProp()`",id:"tohaveprop",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/jest-matchers.mdx"},{title:"Accessibility",routePath:"/12.x/docs/api/misc/accessibility",lang:"en",toc:[{text:"`isHiddenFromAccessibility`",id:"ishiddenfromaccessibility",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/accessibility.mdx"},{title:"Async utilities",routePath:"/12.x/docs/api/misc/async",lang:"en",toc:[{text:"`findBy*` queries",id:"findby-queries",depth:2,charIndex:-1},{text:"`waitFor`",id:"waitfor",depth:2,charIndex:-1},{text:"Using a React Native version < 0.71 with Jest fake timers",id:"using-a-react-native-version--071-with-jest-fake-timers",depth:3,charIndex:2474},{text:"`waitForElementToBeRemoved`",id:"waitforelementtoberemoved",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/async.mdx"},{title:"Configuration",routePath:"/12.x/docs/api/misc/config",lang:"en",toc:[{text:"`configure`",id:"configure",depth:2,charIndex:-1},{text:"`asyncUtilTimeout` option",id:"asyncutiltimeout-option",depth:3,charIndex:-1},{text:"`defaultIncludeHiddenElements` option",id:"defaultincludehiddenelements-option",depth:3,charIndex:-1},{text:"`defaultDebugOptions` option",id:"defaultdebugoptions-option",depth:3,charIndex:-1},{text:"`concurrentRoot` option",id:"concurrentroot-option",depth:3,charIndex:-1},{text:"`resetToDefaults()`",id:"resettodefaults",depth:2,charIndex:-1},{text:"Environment variables",id:"environment-variables",depth:2,charIndex:1170},{text:"`RNTL_SKIP_AUTO_CLEANUP`",id:"rntl_skip_auto_cleanup",depth:3,charIndex:-1},{text:"`RNTL_SKIP_AUTO_DETECT_FAKE_TIMERS`",id:"rntl_skip_auto_detect_fake_timers",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/config.mdx"},{title:"Other helpers",routePath:"/12.x/docs/api/misc/other",lang:"en",toc:[{text:"`within`, `getQueriesForElement`",id:"within-getqueriesforelement",depth:2,charIndex:-1},{text:"`act`",id:"act",depth:2,charIndex:-1},{text:"`cleanup`",id:"cleanup",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/other.mdx"},{title:"`renderHook` function",routePath:"/12.x/docs/api/misc/render-hook",lang:"en",toc:[{text:"`options`",id:"options",depth:2,charIndex:-1},{text:"`initialProps`",id:"initialprops",depth:3,charIndex:-1},{text:"`wrapper`",id:"wrapper",depth:3,charIndex:-1},{text:"`RenderHookResult`",id:"renderhookresult",depth:2,charIndex:-1},{text:"`result`",id:"result",depth:3,charIndex:-1},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"Examples",id:"examples",depth:2,charIndex:2692},{text:"With `initialProps`",id:"with-initialprops",depth:3,charIndex:-1},{text:"With `wrapper`",id:"with-wrapper",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/render-hook.mdx"},{title:"Queries",routePath:"/12.x/docs/api/queries",lang:"en",toc:[{text:"Accessing queries",id:"accessing-queries",depth:2,charIndex:226},{text:"Using `screen` object",id:"using-screen-object",depth:3,charIndex:-1},{text:"Using `render` result",id:"using-render-result",depth:3,charIndex:-1},{text:"Query parts",id:"query-parts",depth:2,charIndex:1114},{text:"Query variant",id:"query-variant",depth:2,charIndex:1373},{text:"`getBy*` queries",id:"getby-queries",depth:3,charIndex:-1},{text:"`getAllBy*` queries",id:"getallby-queries",depth:3,charIndex:-1},{text:"`queryBy*` queries",id:"queryby-queries",depth:3,charIndex:-1},{text:"`queryAllBy*` queries",id:"queryallby-queries",depth:3,charIndex:-1},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"`findAllBy*` queries",id:"findallby-queries",depth:3,charIndex:-1},{text:"Query predicates",id:"query-predicates",depth:2,charIndex:4293},{text:"`*ByRole`",id:"byrole",depth:3,charIndex:-1},{text:"Options",id:"options",depth:4,charIndex:-1},{text:"`*ByLabelText`",id:"bylabeltext",depth:3,charIndex:-1},{text:"`*ByPlaceholderText`",id:"byplaceholdertext",depth:3,charIndex:-1},{text:"`*ByDisplayValue`",id:"bydisplayvalue",depth:3,charIndex:-1},{text:"`*ByText`",id:"bytext",depth:3,charIndex:-1},{text:"`*ByHintText`",id:"byhinttext",depth:3,charIndex:-1},{text:"`*ByTestId`",id:"bytestid",depth:3,charIndex:-1},{text:"Common options",id:"common-options",depth:3,charIndex:12774},{text:"`includeHiddenElements` option",id:"includehiddenelements-option",depth:4,charIndex:-1},{text:"TextMatch type",id:"textmatch-type",depth:2,charIndex:13927},{text:"Examples",id:"examples",depth:3,charIndex:14096},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"Precision",id:"precision",depth:4,charIndex:14916},{text:"Normalization",id:"normalization",depth:4,charIndex:15788},{text:"Legacy unit testing helpers",id:"legacy-unit-testing-helpers",depth:2,charIndex:17281},{text:"`UNSAFE_ByType`",id:"unsafe_bytype",depth:3,charIndex:-1},{text:"`UNSAFE_ByProps`",id:"unsafe_byprops",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/queries.mdx"},{title:"`render` function",routePath:"/12.x/docs/api/render",lang:"en",toc:[{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`wrapper` option",id:"wrapper-option",depth:4,charIndex:-1},{text:"`concurrentRoot` option",id:"concurrentroot-option",depth:4,charIndex:-1},{text:"`createNodeMock` option",id:"createnodemock-option",depth:4,charIndex:-1},{text:"`unstable_validateStringsRenderedWithinText` option",id:"unstable_validatestringsrenderedwithintext-option",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/render.mdx"},{title:"`screen` object",routePath:"/12.x/docs/api/screen",lang:"en",toc:[{text:"`...queries`",id:"queries",depth:3,charIndex:-1},{text:"Example",id:"example",depth:4,charIndex:791},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"`debug`",id:"debug",depth:3,charIndex:-1},{text:"`message` option",id:"message-option",depth:4,charIndex:-1},{text:"`mapProps` option",id:"mapprops-option",depth:4,charIndex:-1},{text:"`toJSON`",id:"tojson",depth:3,charIndex:-1},{text:"`root`",id:"root",depth:3,charIndex:-1},{text:"`UNSAFE_root`",id:"unsafe_root",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/screen.mdx"},{title:"Community resources",routePath:"/12.x/docs/guides/community-resources",lang:"en",toc:[{text:"Recommended content",id:"recommended-content",depth:2,charIndex:3},{text:"Older, potentially outdated content",id:"older-potentially-outdated-content",depth:2,charIndex:601}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/community-resources.mdx"},{title:"FAQ",routePath:"/12.x/docs/guides/faq",lang:"en",toc:[{text:"Can I test the native features of React Native apps?",id:"can-i-test-the-native-features-of-react-native-apps",depth:2,charIndex:3},{text:"Should I use/migrate to `screen` queries?",id:"should-i-usemigrate-to-screen-queries",depth:2,charIndex:-1},{text:"Should I use/migrate to User Event interactions?",id:"should-i-usemigrate-to-user-event-interactions",depth:2,charIndex:1595}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/faq.mdx"},{title:"How should I query?",routePath:"/12.x/docs/guides/how-to-query",lang:"en",toc:[{text:"Query parts",id:"query-parts",depth:2,charIndex:273},{text:"Query variant",id:"query-variant",depth:2,charIndex:534},{text:"Idiomatic query variants",id:"idiomatic-query-variants",depth:3,charIndex:1399},{text:"Query predicate",id:"query-predicate",depth:2,charIndex:2352},{text:"Idiomatic query predicates",id:"idiomatic-query-predicates",depth:3,charIndex:3126},{text:"1. By Role query",id:"1-by-role-query",depth:3,charIndex:-1},{text:"Name option",id:"name-option",depth:4,charIndex:-1},{text:"2. Text input queries",id:"2-text-input-queries",depth:3,charIndex:-1},{text:"3. Other accessible queries",id:"3-other-accessible-queries",depth:3,charIndex:-1},{text:"4. Test ID query",id:"4-test-id-query",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/how-to-query.mdx"},{title:"Troubleshooting",routePath:"/12.x/docs/guides/troubleshooting",lang:"en",toc:[{text:"Matching React Native, React & React Test Renderer versions",id:"matching-react-native-react--react-test-renderer-versions",depth:2,charIndex:116},{text:"Example repository",id:"example-repository",depth:2,charIndex:1005},{text:"Undefined component error",id:"undefined-component-error",depth:2,charIndex:1254},{text:"Mocking React Native",id:"mocking-react-native",depth:3,charIndex:2357},{text:"Act warnings",id:"act-warnings",depth:2,charIndex:2688}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/troubleshooting.mdx"},{title:"Migration to built-in Jest matchers",routePath:"/12.x/docs/migration/jest-matchers",lang:"en",toc:[{text:"General notes",id:"general-notes",depth:2,charIndex:119},{text:"Usage",id:"usage",depth:2,charIndex:533},{text:"Gradual migration",id:"gradual-migration",depth:3,charIndex:728},{text:"Migration details",id:"migration-details",depth:2,charIndex:1226},{text:"Matchers not requiring changes",id:"matchers-not-requiring-changes",depth:3,charIndex:1247},{text:"Replaced matchers",id:"replaced-matchers",depth:3,charIndex:1554},{text:"Added matchers",id:"added-matchers",depth:3,charIndex:1947},{text:"Noteworthy details",id:"noteworthy-details",depth:3,charIndex:2009}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/jest-matchers.mdx"},{title:"Migration to 11.x",routePath:"/12.x/docs/migration/previous/v11",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:153},{text:"Update to Jest 28 if you use fake timers",id:"update-to-jest-28-if-you-use-fake-timers",depth:3,charIndex:173},{text:"Refactor legacy `waitForOptions` position",id:"refactor-legacy-waitforoptions-position",depth:3,charIndex:-1},{text:'Triggering non-touch events on targets with `pointerEvents="box-none"` prop',id:"triggering-non-touch-events-on-targets-with-pointereventsbox-none-prop",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:1699}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v11.mdx"},{title:"Migration to 2.x",routePath:"/12.x/docs/migration/previous/v2",lang:"en",toc:[{text:"Dropping Node 8",id:"dropping-node-8",depth:2,charIndex:100},{text:"Auto Cleanup",id:"auto-cleanup",depth:2,charIndex:325},{text:"WaitFor API changes",id:"waitfor-api-changes",depth:2,charIndex:1381},{text:"Removed global `debug` function",id:"removed-global-debug-function",depth:2,charIndex:-1},{text:"Removed global `shallow` function",id:"removed-global-shallow-function",depth:2,charIndex:-1},{text:"Removed functions",id:"removed-functions",depth:2,charIndex:2784},{text:"Some `ByTestId` queries behavior changes",id:"some-bytestid-queries-behavior-changes",depth:2,charIndex:-1},{text:"Deprecated `flushMicrotasksQueue`",id:"deprecated-flushmicrotasksqueue",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v2.mdx"},{title:"Migration to 7.x",routePath:"/12.x/docs/migration/previous/v7",lang:"en",toc:[{text:"Guide for `react-native-testing-library` users",id:"guide-for-react-native-testing-library-users",depth:2,charIndex:-1},{text:"Renaming the library",id:"renaming-the-library",depth:3,charIndex:452},{text:"New aliases",id:"new-aliases",depth:3,charIndex:1352},{text:"Renaming `ByPlaceholder` queries",id:"renaming-byplaceholder-queries",depth:3,charIndex:-1},{text:"`fireEvent` support for disabled components",id:"fireevent-support-for-disabled-components",depth:3,charIndex:-1},{text:"Guide for `@testing-library/react-native` users",id:"guide-for-testing-libraryreact-native-users",depth:2,charIndex:-1},{text:'Renaming "wait" helpers',id:"renaming-wait-helpers",depth:3,charIndex:2874},{text:"Changes to `ByTestId` queries",id:"changes-to-bytestid-queries",depth:3,charIndex:-1},{text:"No `ByTitle` queries",id:"no-bytitle-queries",depth:3,charIndex:-1},{text:"No custom Jest configuration",id:"no-custom-jest-configuration",depth:3,charIndex:3628},{text:"Cleanup is included by default",id:"cleanup-is-included-by-default",depth:3,charIndex:4014},{text:"No NativeTestInstance abstraction",id:"no-nativetestinstance-abstraction",depth:3,charIndex:4510},{text:"No `container` nor `baseElement` returned from `render`",id:"no-container-nor-baseelement-returned-from-render",depth:3,charIndex:-1},{text:"Firing events changes",id:"firing-events-changes",depth:3,charIndex:5020}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v7.mdx"},{title:"Migration to 9.x",routePath:"/12.x/docs/migration/previous/v9",lang:"en",toc:[{text:"Support for text match options a.k.a string precision API",id:"support-for-text-match-options-aka-string-precision-api",depth:2,charIndex:284},{text:"Reverted matching text across several nodes",id:"reverted-matching-text-across-several-nodes",depth:2,charIndex:1282},{text:"Future plans",id:"future-plans",depth:2,charIndex:2046}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v9.mdx"},{title:"Migration to 12.x",routePath:"/12.x/docs/migration/v12",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:484},{text:"1. All queries exclude elements hidden from accessibility by default",id:"1-all-queries-exclude-elements-hidden-from-accessibility-by-default",depth:3,charIndex:504},{text:"2. `*ByRole` queries now return only accessibility elements",id:"2-byrole-queries-now-return-only-accessibility-elements",depth:3,charIndex:-1},{text:"Examples",id:"examples",depth:4,charIndex:1510},{text:"3. `*ByText`, `*ByDisplayValue`, `*ByPlaceholderText` queries now return host elements",id:"3-bytext-bydisplayvalue-byplaceholdertext-queries-now-return-host-elements",depth:3,charIndex:-1},{text:"4. `container` API has been renamed to `UNSAFE_root`.",id:"4-container-api-has-been-renamed-to-unsafe_root",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:3465}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/v12.mdx"},{title:"Introduction",routePath:"/12.x/docs/start/intro",lang:"en",toc:[{text:"The problem",id:"the-problem",depth:2,charIndex:3},{text:"This solution",id:"this-solution",depth:2,charIndex:479},{text:"Example",id:"example",depth:2,charIndex:988}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/start/intro.md"},{title:"Quick Start",routePath:"/12.x/docs/start/quick-start",lang:"en",toc:[{text:"Installation",id:"installation",depth:2,charIndex:3},{text:"Jest matchers",id:"jest-matchers",depth:3,charIndex:223},{text:"ESLint plugin",id:"eslint-plugin",depth:3,charIndex:433}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/start/quick-start.mdx"},{title:"",routePath:"/12.x/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{name:"React Native Testing Library",image:{src:"/img/owl.png"},tagline:"Helps you to write better tests with less effort.",actions:[{theme:"brand",text:"Quick Start",link:"/12.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/12.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:"✨"},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:"✅"},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:"❤️"}]},version:"12.x",_relativePath:"12.x/index.md"},{title:"Network Requests",routePath:"/cookbook/advanced/network-requests",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Phonebook Example",id:"phonebook-example",depth:2,charIndex:568},{text:"Start testing with a simple test",id:"start-testing-with-a-simple-test",depth:2,charIndex:4116},{text:"Testing error handling",id:"testing-error-handling",depth:2,charIndex:7189},{text:"Global guarding against unwanted API requests",id:"global-guarding-against-unwanted-api-requests",depth:2,charIndex:9007},{text:"Conclusion",id:"conclusion",depth:2,charIndex:10029},{text:"Further Reading and Alternatives",id:"further-reading-and-alternatives",depth:2,charIndex:10651}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/advanced/network-requests.md"},{title:"Async tests",routePath:"/cookbook/basics/async-tests",lang:"en",toc:[{text:"Summary",id:"summary",depth:2,charIndex:3},{text:"Example",id:"example",depth:3,charIndex:911},{text:"Async utilities",id:"async-utilities",depth:2,charIndex:2056},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"Example",id:"example-1",depth:4,charIndex:2876},{text:"`waitFor` function",id:"waitfor-function",depth:3,charIndex:-1},{text:"Example",id:"example-2",depth:4,charIndex:3648},{text:"`waitForElementToBeRemoved` function",id:"waitforelementtoberemoved-function",depth:3,charIndex:-1},{text:"Example",id:"example-3",depth:4,charIndex:4467},{text:"Fake Timers",id:"fake-timers",depth:2,charIndex:4545}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/basics/async-tests.md"},{title:"Custom `render` function",routePath:"/cookbook/basics/custom-render",lang:"en",toc:[{text:"Summary",id:"summary",depth:3,charIndex:25},{text:"Example",id:"example",depth:3,charIndex:318},{text:"More info",id:"more-info",depth:3,charIndex:940},{text:"Additional params",id:"additional-params",depth:4,charIndex:952},{text:"Multiple functions",id:"multiple-functions",depth:4,charIndex:1262},{text:"Async function",id:"async-function",depth:4,charIndex:1553}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/basics/custom-render.md"},{title:"Introduction",routePath:"/cookbook/",lang:"en",toc:[{text:"What's Inside the Cookbook?",id:"whats-inside-the-cookbook",depth:2,charIndex:434},{text:"What's Next?",id:"whats-next",depth:2,charIndex:1045}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/index.md"},{title:"Jotai",routePath:"/cookbook/state-management/jotai",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Task List Example",id:"task-list-example",depth:2,charIndex:337},{text:"Starting with a Simple Test",id:"starting-with-a-simple-test",depth:2,charIndex:1145},{text:"Custom Render Function to populate Jotai Atoms with Initial Values",id:"custom-render-function-to-populate-jotai-atoms-with-initial-values",depth:2,charIndex:1608},{text:"Testing the `TaskList` Component with initial tasks",id:"testing-the-tasklist-component-with-initial-tasks",depth:2,charIndex:-1},{text:"Modifying atom outside of React components",id:"modifying-atom-outside-of-react-components",depth:2,charIndex:4391},{text:"Testing atom outside of React components",id:"testing-atom-outside-of-react-components",depth:2,charIndex:4992},{text:"Conclusion",id:"conclusion",depth:2,charIndex:5673}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/state-management/jotai.md"},{title:"Testing environment",routePath:"/docs/advanced/testing-env",lang:"en",toc:[{text:"React renderers",id:"react-renderers",depth:2,charIndex:659},{text:"React Test Renderer",id:"react-test-renderer",depth:2,charIndex:1382},{text:"Element tree",id:"element-tree",depth:2,charIndex:2783},{text:"Host and composite components",id:"host-and-composite-components",depth:2,charIndex:3593},{text:"Differentiating between host and composite elements",id:"differentiating-between-host-and-composite-elements",depth:3,charIndex:5563},{text:"Tree nodes",id:"tree-nodes",depth:2,charIndex:6086},{text:"Asserting props",id:"asserting-props",depth:3,charIndex:6402},{text:"Tree navigation",id:"tree-navigation",depth:2,charIndex:7245},{text:"Queries",id:"queries",depth:2,charIndex:7978}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/advanced/testing-env.mdx"},{title:"Third-Party Library Integration",routePath:"/docs/advanced/third-party-integration",lang:"en",toc:[{text:"Handling Events in Third-Party Libraries",id:"handling-events-in-third-party-libraries",depth:2,charIndex:234},{text:"Example: React Native Gesture Handler",id:"example-react-native-gesture-handler",depth:3,charIndex:1026}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/advanced/third-party-integration.mdx"},{title:"Understanding `act` function",routePath:"/docs/advanced/understanding-act",lang:"en",toc:[{text:"`act` warnings",id:"act-warnings",depth:2,charIndex:-1},{text:"Synchronous `act`",id:"synchronous-act",depth:2,charIndex:-1},{text:"Responsibility",id:"responsibility",depth:3,charIndex:1020},{text:"When to use act",id:"when-to-use-act",depth:3,charIndex:2811},{text:"Implementation",id:"implementation",depth:3,charIndex:3903},{text:"Asynchronous `act`",id:"asynchronous-act",depth:2,charIndex:-1},{text:"Asynchronous code",id:"asynchronous-code",depth:3,charIndex:4894},{text:"Solution with fake timers",id:"solution-with-fake-timers",depth:3,charIndex:6206},{text:"Solution with real timers",id:"solution-with-real-timers",depth:3,charIndex:6721},{text:"Async act warning",id:"async-act-warning",depth:3,charIndex:8170},{text:"References",id:"references",depth:2,charIndex:8808}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/advanced/understanding-act.mdx"},{title:"API Overview",routePath:"/docs/api",lang:"en",toc:[],frontmatter:{uri:"/api"},version:"13.x",_relativePath:"13.x/docs/api.md"},{title:"Fire Event API",routePath:"/docs/api/events/fire-event",lang:"en",toc:[{text:"`fireEvent`",id:"fireevent",depth:2,charIndex:-1},{text:"`fireEvent.press`",id:"fireeventpress",depth:3,charIndex:-1},{text:"`fireEvent.changeText`",id:"fireeventchangetext",depth:3,charIndex:-1},{text:"`fireEvent.scroll`",id:"fireeventscroll",depth:3,charIndex:-1},{text:"On a `ScrollView`",id:"on-a-scrollview",depth:4,charIndex:-1},{text:"`fireEventAsync`",id:"fireeventasync",depth:2,charIndex:-1},{text:"`fireEventAsync.press`",id:"fireeventasyncpress",depth:3,charIndex:-1},{text:"`fireEventAsync.changeText`",id:"fireeventasyncchangetext",depth:3,charIndex:-1},{text:"`fireEventAsync.scroll`",id:"fireeventasyncscroll",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/events/fire-event.mdx"},{title:"User Event interactions",routePath:"/docs/api/events/user-event",lang:"en",toc:[{text:"Comparison with Fire Event API",id:"comparison-with-fire-event-api",depth:2,charIndex:3},{text:"`setup()`",id:"setup",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`press()`",id:"press",depth:2,charIndex:-1},{text:"`longPress()`",id:"longpress",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"`type()`",id:"type",depth:2,charIndex:-1},{text:"Options",id:"options-2",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events",depth:3,charIndex:-1},{text:"`clear()`",id:"clear",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-1",depth:3,charIndex:-1},{text:"`paste()`",id:"paste",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-2",depth:3,charIndex:-1},{text:"`scrollTo()`",id:"scroll-to",depth:2,charIndex:-1},{text:"Options",id:"options-3",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-3",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/events/user-event.mdx"},{title:"Jest matchers",routePath:"/docs/api/jest-matchers",lang:"en",toc:[{text:"Setup",id:"setup",depth:2,charIndex:173},{text:"Migration from legacy Jest Native matchers.",id:"migration-from-legacy-jest-native-matchers",depth:2,charIndex:355},{text:"Checking element existence",id:"checking-element-existence",depth:2,charIndex:519},{text:"`toBeOnTheScreen()`",id:"tobeonthescreen",depth:3,charIndex:-1},{text:"Element Content",id:"element-content",depth:2,charIndex:808},{text:"`toHaveTextContent()`",id:"tohavetextcontent",depth:3,charIndex:-1},{text:"`toContainElement()`",id:"tocontainelement",depth:3,charIndex:-1},{text:"`toBeEmptyElement()`",id:"tobeemptyelement",depth:3,charIndex:-1},{text:"Checking element state",id:"checking-element-state",depth:2,charIndex:1550},{text:"`toHaveDisplayValue()`",id:"tohavedisplayvalue",depth:3,charIndex:-1},{text:"`toHaveAccessibilityValue()`",id:"tohaveaccessibilityvalue",depth:3,charIndex:-1},{text:"`toBeEnabled()` / `toBeDisabled`",id:"tobeenabled--tobedisabled",depth:3,charIndex:-1},{text:"`toBeSelected()`",id:"tobeselected",depth:3,charIndex:-1},{text:"`toBeChecked()` / `toBePartiallyChecked()`",id:"tobechecked--tobepartiallychecked",depth:3,charIndex:-1},{text:"`toBeExpanded()` / `toBeCollapsed()`",id:"tobeexpanded--tobecollapsed",depth:3,charIndex:-1},{text:"`toBeBusy()`",id:"tobebusy",depth:3,charIndex:-1},{text:"Checking element style",id:"checking-element-style",depth:2,charIndex:4710},{text:"`toBeVisible()`",id:"tobevisible",depth:3,charIndex:-1},{text:"`toHaveStyle()`",id:"tohavestyle",depth:3,charIndex:-1},{text:"Other matchers",id:"other-matchers",depth:2,charIndex:5188},{text:"`toHaveAccessibleName()`",id:"tohaveaccessiblename",depth:3,charIndex:-1},{text:"`toHaveProp()`",id:"tohaveprop",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/jest-matchers.mdx"},{title:"Accessibility",routePath:"/docs/api/misc/accessibility",lang:"en",toc:[{text:"`isHiddenFromAccessibility`",id:"ishiddenfromaccessibility",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/accessibility.mdx"},{title:"Async utilities",routePath:"/docs/api/misc/async",lang:"en",toc:[{text:"`findBy*` queries",id:"findby-queries",depth:2,charIndex:-1},{text:"`waitFor`",id:"waitfor",depth:2,charIndex:-1},{text:"`waitForElementToBeRemoved`",id:"waitforelementtoberemoved",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/async.mdx"},{title:"Configuration",routePath:"/docs/api/misc/config",lang:"en",toc:[{text:"`configure`",id:"configure",depth:2,charIndex:-1},{text:"`asyncUtilTimeout` option",id:"asyncutiltimeout-option",depth:3,charIndex:-1},{text:"`defaultIncludeHiddenElements` option",id:"defaultincludehiddenelements-option",depth:3,charIndex:-1},{text:"`defaultDebugOptions` option",id:"defaultdebugoptions-option",depth:3,charIndex:-1},{text:"`concurrentRoot` option",id:"concurrentroot-option",depth:3,charIndex:-1},{text:"`resetToDefaults()`",id:"resettodefaults",depth:2,charIndex:-1},{text:"Environment variables",id:"environment-variables",depth:2,charIndex:1171},{text:"`RNTL_SKIP_AUTO_CLEANUP`",id:"rntl_skip_auto_cleanup",depth:3,charIndex:-1},{text:"`RNTL_SKIP_AUTO_DETECT_FAKE_TIMERS`",id:"rntl_skip_auto_detect_fake_timers",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/config.mdx"},{title:"Other helpers",routePath:"/docs/api/misc/other",lang:"en",toc:[{text:"`within`, `getQueriesForElement`",id:"within-getqueriesforelement",depth:2,charIndex:-1},{text:"`act`",id:"act",depth:2,charIndex:-1},{text:"`cleanup`",id:"cleanup",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/other.mdx"},{title:"`renderHook` function",routePath:"/docs/api/misc/render-hook",lang:"en",toc:[{text:"`renderHook`",id:"renderhook",depth:2,charIndex:-1},{text:"`options`",id:"options",depth:3,charIndex:-1},{text:"`initialProps`",id:"initialprops",depth:4,charIndex:-1},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"`concurrentRoot`",id:"concurrentroot",depth:3,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2008},{text:"`result`",id:"result-1",depth:4,charIndex:-1},{text:"`rerender`",id:"rerender",depth:4,charIndex:-1},{text:"`unmount`",id:"unmount",depth:4,charIndex:-1},{text:"Examples",id:"examples",depth:3,charIndex:2860},{text:"With `initialProps`",id:"with-initialprops",depth:4,charIndex:-1},{text:"With `wrapper`",id:"with-wrapper",depth:4,charIndex:-1},{text:"`renderHookAsync` function",id:"renderhookasync-function",depth:2,charIndex:-1},{text:"Result",id:"result-2",depth:3,charIndex:2008}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/render-hook.mdx"},{title:"Queries",routePath:"/docs/api/queries",lang:"en",toc:[{text:"Accessing queries",id:"accessing-queries",depth:2,charIndex:226},{text:"Using `screen` object",id:"using-screen-object",depth:3,charIndex:-1},{text:"Using `render` result",id:"using-render-result",depth:3,charIndex:-1},{text:"Query parts",id:"query-parts",depth:2,charIndex:1114},{text:"Query variant",id:"query-variant",depth:2,charIndex:1373},{text:"`getBy*` queries",id:"getby-queries",depth:3,charIndex:-1},{text:"`getAllBy*` queries",id:"getallby-queries",depth:3,charIndex:-1},{text:"`queryBy*` queries",id:"queryby-queries",depth:3,charIndex:-1},{text:"`queryAllBy*` queries",id:"queryallby-queries",depth:3,charIndex:-1},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"`findAllBy*` queries",id:"findallby-queries",depth:3,charIndex:-1},{text:"Query predicates",id:"query-predicates",depth:2,charIndex:4293},{text:"`*ByRole`",id:"byrole",depth:3,charIndex:-1},{text:"Options",id:"options",depth:4,charIndex:-1},{text:"`*ByLabelText`",id:"bylabeltext",depth:3,charIndex:-1},{text:"`*ByPlaceholderText`",id:"byplaceholdertext",depth:3,charIndex:-1},{text:"`*ByDisplayValue`",id:"bydisplayvalue",depth:3,charIndex:-1},{text:"`*ByText`",id:"bytext",depth:3,charIndex:-1},{text:"`*ByHintText`",id:"byhinttext",depth:3,charIndex:-1},{text:"`*ByTestId`",id:"bytestid",depth:3,charIndex:-1},{text:"Common options",id:"common-options",depth:3,charIndex:12774},{text:"`includeHiddenElements` option",id:"includehiddenelements-option",depth:4,charIndex:-1},{text:"TextMatch type",id:"textmatch-type",depth:2,charIndex:13927},{text:"Examples",id:"examples",depth:3,charIndex:14096},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"Precision",id:"precision",depth:4,charIndex:14916},{text:"Normalization",id:"normalization",depth:4,charIndex:15788},{text:"Legacy unit testing helpers",id:"legacy-unit-testing-helpers",depth:2,charIndex:17281},{text:"`UNSAFE_ByType`",id:"unsafe_bytype",depth:3,charIndex:-1},{text:"`UNSAFE_ByProps`",id:"unsafe_byprops",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/queries.mdx"},{title:"`render` API",routePath:"/docs/api/render",lang:"en",toc:[{text:"`render` function",id:"render-function",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:694},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"`concurrentRoot`",id:"concurrentroot",depth:4,charIndex:-1},{text:"`createNodeMock`",id:"createnodemock",depth:4,charIndex:-1},{text:"`unstable_validateStringsRenderedWithinText`",id:"unstable_validatestringsrenderedwithintext",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2350},{text:"`renderAsync` function",id:"renderasync-function",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:3176},{text:"Result",id:"result-1",depth:3,charIndex:3236}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/render.mdx"},{title:"`screen` object",routePath:"/docs/api/screen",lang:"en",toc:[{text:"`...queries`",id:"queries",depth:3,charIndex:-1},{text:"Example",id:"example",depth:4,charIndex:791},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`rerenderAsync`",id:"rerenderasync",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"`unmountAsync`",id:"unmountasync",depth:3,charIndex:-1},{text:"`debug`",id:"debug",depth:3,charIndex:-1},{text:"`message` option",id:"message-option",depth:4,charIndex:-1},{text:"`mapProps` option",id:"mapprops-option",depth:4,charIndex:-1},{text:"`toJSON`",id:"tojson",depth:3,charIndex:-1},{text:"`root`",id:"root",depth:3,charIndex:-1},{text:"`UNSAFE_root`",id:"unsafe_root",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/screen.mdx"},{title:"Community resources",routePath:"/docs/guides/community-resources",lang:"en",toc:[{text:"Recommended content",id:"recommended-content",depth:2,charIndex:3},{text:"Older, potentially outdated content",id:"older-potentially-outdated-content",depth:2,charIndex:601}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/community-resources.mdx"},{title:"FAQ",routePath:"/docs/guides/faq",lang:"en",toc:[{text:"Can I test the native features of React Native apps?",id:"can-i-test-the-native-features-of-react-native-apps",depth:2,charIndex:3},{text:"Should I use/migrate to `screen` queries?",id:"should-i-usemigrate-to-screen-queries",depth:2,charIndex:-1},{text:"Should I use/migrate to User Event interactions?",id:"should-i-usemigrate-to-user-event-interactions",depth:2,charIndex:1595}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/faq.mdx"},{title:"How should I query?",routePath:"/docs/guides/how-to-query",lang:"en",toc:[{text:"Query parts",id:"query-parts",depth:2,charIndex:273},{text:"Query variant",id:"query-variant",depth:2,charIndex:534},{text:"Idiomatic query variants",id:"idiomatic-query-variants",depth:3,charIndex:1399},{text:"Query predicate",id:"query-predicate",depth:2,charIndex:2352},{text:"Idiomatic query predicates",id:"idiomatic-query-predicates",depth:3,charIndex:3126},{text:"1. By Role query",id:"1-by-role-query",depth:3,charIndex:-1},{text:"Name option",id:"name-option",depth:4,charIndex:-1},{text:"2. Text input queries",id:"2-text-input-queries",depth:3,charIndex:-1},{text:"3. Other accessible queries",id:"3-other-accessible-queries",depth:3,charIndex:-1},{text:"4. Test ID query",id:"4-test-id-query",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/how-to-query.mdx"},{title:"React 19 & Suspense Support",routePath:"/docs/guides/react-19",lang:"en",toc:[{text:"New async APIs",id:"new-async-apis",depth:2,charIndex:384},{text:"APIs that remain unchanged",id:"apis-that-remain-unchanged",depth:2,charIndex:738},{text:"What changes in your tests",id:"what-changes-in-your-tests",depth:2,charIndex:1053},{text:"Making tests async",id:"making-tests-async",depth:3,charIndex:1083},{text:"When to use async APIs",id:"when-to-use-async-apis",depth:3,charIndex:1579},{text:"Migration strategy",id:"migration-strategy",depth:2,charIndex:1818},{text:"New projects",id:"new-projects",depth:3,charIndex:1840},{text:"Existing projects",id:"existing-projects",depth:3,charIndex:1988},{text:"Future direction",id:"future-direction",depth:3,charIndex:2200}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/react-19.mdx"},{title:"Troubleshooting",routePath:"/docs/guides/troubleshooting",lang:"en",toc:[{text:"Matching React Native, React & React Test Renderer versions",id:"matching-react-native-react--react-test-renderer-versions",depth:2,charIndex:116},{text:"Example repository",id:"example-repository",depth:2,charIndex:1005},{text:"Undefined component error",id:"undefined-component-error",depth:2,charIndex:1254},{text:"Mocking React Native",id:"mocking-react-native",depth:3,charIndex:2357},{text:"Act warnings",id:"act-warnings",depth:2,charIndex:2688}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/troubleshooting.mdx"},{title:"Migration to built-in Jest matchers",routePath:"/docs/migration/jest-matchers",lang:"en",toc:[{text:"General notes",id:"general-notes",depth:2,charIndex:119},{text:"Usage",id:"usage",depth:2,charIndex:533},{text:"Gradual migration",id:"gradual-migration",depth:3,charIndex:715},{text:"Migration details",id:"migration-details",depth:2,charIndex:1159},{text:"Matchers not requiring changes",id:"matchers-not-requiring-changes",depth:3,charIndex:1180},{text:"Replaced matchers",id:"replaced-matchers",depth:3,charIndex:1487},{text:"Added matchers",id:"added-matchers",depth:3,charIndex:1880},{text:"Noteworthy details",id:"noteworthy-details",depth:3,charIndex:1942}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/jest-matchers.mdx"},{title:"Migration to 11.x",routePath:"/docs/migration/previous/v11",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:153},{text:"Update to Jest 28 if you use fake timers",id:"update-to-jest-28-if-you-use-fake-timers",depth:3,charIndex:173},{text:"Refactor legacy `waitForOptions` position",id:"refactor-legacy-waitforoptions-position",depth:3,charIndex:-1},{text:'Triggering non-touch events on targets with `pointerEvents="box-none"` prop',id:"triggering-non-touch-events-on-targets-with-pointereventsbox-none-prop",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:1699}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v11.mdx"},{title:"Migration to 12.x",routePath:"/docs/migration/previous/v12",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:484},{text:"1. All queries exclude elements hidden from accessibility by default",id:"1-all-queries-exclude-elements-hidden-from-accessibility-by-default",depth:3,charIndex:504},{text:"2. `*ByRole` queries now return only accessibility elements",id:"2-byrole-queries-now-return-only-accessibility-elements",depth:3,charIndex:-1},{text:"Examples",id:"examples",depth:4,charIndex:1510},{text:"3. `*ByText`, `*ByDisplayValue`, `*ByPlaceholderText` queries now return host elements",id:"3-bytext-bydisplayvalue-byplaceholdertext-queries-now-return-host-elements",depth:3,charIndex:-1},{text:"4. `container` API has been renamed to `UNSAFE_root`.",id:"4-container-api-has-been-renamed-to-unsafe_root",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:3465}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v12.mdx"},{title:"Migration to 2.x",routePath:"/docs/migration/previous/v2",lang:"en",toc:[{text:"Dropping Node 8",id:"dropping-node-8",depth:2,charIndex:100},{text:"Auto Cleanup",id:"auto-cleanup",depth:2,charIndex:325},{text:"WaitFor API changes",id:"waitfor-api-changes",depth:2,charIndex:1381},{text:"Removed global `debug` function",id:"removed-global-debug-function",depth:2,charIndex:-1},{text:"Removed global `shallow` function",id:"removed-global-shallow-function",depth:2,charIndex:-1},{text:"Removed functions",id:"removed-functions",depth:2,charIndex:2784},{text:"Some `ByTestId` queries behavior changes",id:"some-bytestid-queries-behavior-changes",depth:2,charIndex:-1},{text:"Deprecated `flushMicrotasksQueue`",id:"deprecated-flushmicrotasksqueue",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v2.mdx"},{title:"Migration to 7.x",routePath:"/docs/migration/previous/v7",lang:"en",toc:[{text:"Guide for `react-native-testing-library` users",id:"guide-for-react-native-testing-library-users",depth:2,charIndex:-1},{text:"Renaming the library",id:"renaming-the-library",depth:3,charIndex:452},{text:"New aliases",id:"new-aliases",depth:3,charIndex:1352},{text:"Renaming `ByPlaceholder` queries",id:"renaming-byplaceholder-queries",depth:3,charIndex:-1},{text:"`fireEvent` support for disabled components",id:"fireevent-support-for-disabled-components",depth:3,charIndex:-1},{text:"Guide for `@testing-library/react-native` users",id:"guide-for-testing-libraryreact-native-users",depth:2,charIndex:-1},{text:'Renaming "wait" helpers',id:"renaming-wait-helpers",depth:3,charIndex:2874},{text:"Changes to `ByTestId` queries",id:"changes-to-bytestid-queries",depth:3,charIndex:-1},{text:"No `ByTitle` queries",id:"no-bytitle-queries",depth:3,charIndex:-1},{text:"No custom Jest configuration",id:"no-custom-jest-configuration",depth:3,charIndex:3628},{text:"Cleanup is included by default",id:"cleanup-is-included-by-default",depth:3,charIndex:4014},{text:"No NativeTestInstance abstraction",id:"no-nativetestinstance-abstraction",depth:3,charIndex:4510},{text:"No `container` nor `baseElement` returned from `render`",id:"no-container-nor-baseelement-returned-from-render",depth:3,charIndex:-1},{text:"Firing events changes",id:"firing-events-changes",depth:3,charIndex:5020}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v7.mdx"},{title:"Migration to 9.x",routePath:"/docs/migration/previous/v9",lang:"en",toc:[{text:"Support for text match options a.k.a string precision API",id:"support-for-text-match-options-aka-string-precision-api",depth:2,charIndex:284},{text:"Reverted matching text across several nodes",id:"reverted-matching-text-across-several-nodes",depth:2,charIndex:1282},{text:"Future plans",id:"future-plans",depth:2,charIndex:2046}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v9.mdx"},{title:"Migration to 13.x",routePath:"/docs/migration/v13",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:228},{text:"Supported React and React Native versions",id:"supported-react-and-react-native-versions",depth:3,charIndex:248},{text:"Concurrent rendering by default",id:"concurrent-rendering-by-default",depth:3,charIndex:593},{text:"Extend Jest matchers by default",id:"extend-jest-matchers-by-default",depth:3,charIndex:980},{text:"Removed deprecated `*ByAccessibilityState` queries",id:"removed-deprecated-byaccessibilitystate-queries",depth:3,charIndex:-1},{text:"Removed deprecated `*ByAccessibilityValue` queries",id:"removed-deprecated-byaccessibilityvalue-queries",depth:3,charIndex:-1},{text:"Removed Jest preset",id:"removed-jest-preset",depth:3,charIndex:3140},{text:"Removed `debug.shallow`",id:"removed-debugshallow",depth:3,charIndex:-1},{text:"Changes to accessibility label calculation",id:"changes-to-accessibility-label-calculation",depth:3,charIndex:3557},{text:"Other changes",id:"other-changes",depth:2,charIndex:3790},{text:"Removed host component names autodetection",id:"removed-host-component-names-autodetection",depth:3,charIndex:3807},{text:"Use React implementation of `act` instead of React Test Renderer one",id:"use-react-implementation-of-act-instead-of-react-test-renderer-one",depth:3,charIndex:-1},{text:"Updated `flushMicroTasks` internal method",id:"updated-flushmicrotasks-internal-method",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:4139}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/v13.mdx"},{title:"Introduction",routePath:"/docs/start/intro",lang:"en",toc:[{text:"The problem",id:"the-problem",depth:2,charIndex:3},{text:"This solution",id:"this-solution",depth:2,charIndex:479},{text:"Example",id:"example",depth:2,charIndex:988}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/start/intro.md"},{title:"Quick Start",routePath:"/docs/start/quick-start",lang:"en",toc:[{text:"Installation",id:"installation",depth:2,charIndex:3},{text:"Jest matchers",id:"jest-matchers",depth:3,charIndex:223},{text:"ESLint plugin",id:"eslint-plugin",depth:3,charIndex:461}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/start/quick-start.mdx"},{title:"",routePath:"/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{name:"React Native Testing Library",image:{src:"/img/owl.png"},tagline:"Helps you to write better tests with less effort.",actions:[{theme:"brand",text:"Quick Start",link:"/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:"✨"},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:"✅"},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:"❤️"}]},version:"13.x",_relativePath:"13.x/index.md"},{title:"Network Requests",routePath:"/14.x/cookbook/advanced/network-requests",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Phonebook Example",id:"phonebook-example",depth:2,charIndex:568},{text:"Start testing with a simple test",id:"start-testing-with-a-simple-test",depth:2,charIndex:4116},{text:"Testing error handling",id:"testing-error-handling",depth:2,charIndex:7195},{text:"Global guarding against unwanted API requests",id:"global-guarding-against-unwanted-api-requests",depth:2,charIndex:9019},{text:"Conclusion",id:"conclusion",depth:2,charIndex:10041},{text:"Further Reading and Alternatives",id:"further-reading-and-alternatives",depth:2,charIndex:10663}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/advanced/network-requests.md"},{title:"Async Events",routePath:"/14.x/cookbook/basics/async-events",lang:"en",toc:[{text:"Summary",id:"summary",depth:2,charIndex:3},{text:"Example",id:"example",depth:3,charIndex:665},{text:"Async utilities",id:"async-utilities",depth:2,charIndex:1797},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"Example",id:"example-1",depth:4,charIndex:2611},{text:"`waitFor` function",id:"waitfor-function",depth:3,charIndex:-1},{text:"Example",id:"example-2",depth:4,charIndex:3390},{text:"`waitForElementToBeRemoved` function",id:"waitforelementtoberemoved-function",depth:3,charIndex:-1},{text:"Example",id:"example-3",depth:4,charIndex:4209},{text:"Fake Timers",id:"fake-timers",depth:2,charIndex:4287}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/basics/async-events.md"},{title:"Custom `render` function",routePath:"/14.x/cookbook/basics/custom-render",lang:"en",toc:[{text:"Summary",id:"summary",depth:3,charIndex:25},{text:"Example",id:"example",depth:3,charIndex:318},{text:"More info",id:"more-info",depth:3,charIndex:976},{text:"Additional params",id:"additional-params",depth:4,charIndex:988},{text:"Multiple functions",id:"multiple-functions",depth:4,charIndex:1310},{text:"Async setup",id:"async-setup",depth:4,charIndex:1601}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/basics/custom-render.md"},{title:"Introduction",routePath:"/14.x/cookbook/",lang:"en",toc:[{text:"What's Inside the Cookbook?",id:"whats-inside-the-cookbook",depth:2,charIndex:434},{text:"What's Next?",id:"whats-next",depth:2,charIndex:1045}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/index.md"},{title:"Jotai",routePath:"/14.x/cookbook/state-management/jotai",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Task List Example",id:"task-list-example",depth:2,charIndex:337},{text:"Starting with a Simple Test",id:"starting-with-a-simple-test",depth:2,charIndex:1145},{text:"Custom Render Function to populate Jotai Atoms with Initial Values",id:"custom-render-function-to-populate-jotai-atoms-with-initial-values",depth:2,charIndex:1620},{text:"Testing the `TaskList` Component with initial tasks",id:"testing-the-tasklist-component-with-initial-tasks",depth:2,charIndex:-1},{text:"Modifying atom outside of React components",id:"modifying-atom-outside-of-react-components",depth:2,charIndex:4409},{text:"Testing atom outside of React components",id:"testing-atom-outside-of-react-components",depth:2,charIndex:5010},{text:"Conclusion",id:"conclusion",depth:2,charIndex:5691}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/state-management/jotai.md"},{title:"Testing environment",routePath:"/14.x/docs/advanced/testing-env",lang:"en",toc:[{text:"React renderers",id:"react-renderers",depth:2,charIndex:659},{text:"Test Renderer",id:"test-renderer",depth:2,charIndex:1382},{text:"Element tree",id:"element-tree",depth:2,charIndex:2921},{text:"Host and composite components",id:"host-and-composite-components",depth:2,charIndex:3603},{text:"Host-only element tree",id:"host-only-element-tree",depth:3,charIndex:5487},{text:"Tree nodes",id:"tree-nodes",depth:2,charIndex:6026},{text:"Understanding props",id:"understanding-props",depth:3,charIndex:6353},{text:"Tree navigation",id:"tree-navigation",depth:2,charIndex:7023},{text:"Queries",id:"queries",depth:2,charIndex:7505}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/advanced/testing-env.mdx"},{title:"Third-Party Library Integration",routePath:"/14.x/docs/advanced/third-party-integration",lang:"en",toc:[{text:"Handling Events in Third-Party Libraries",id:"handling-events-in-third-party-libraries",depth:2,charIndex:234},{text:"Example: React Native Gesture Handler",id:"example-react-native-gesture-handler",depth:3,charIndex:1026}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/advanced/third-party-integration.mdx"},{title:"Understanding `act` function",routePath:"/14.x/docs/advanced/understanding-act",lang:"en",toc:[{text:"`act` warning",id:"act-warning",depth:2,charIndex:-1},{text:"Understanding `act`",id:"understanding-act",depth:2,charIndex:-1},{text:"Responsibility",id:"responsibility",depth:3,charIndex:768},{text:"When to use act",id:"when-to-use-act",depth:3,charIndex:2679},{text:"Implementation",id:"implementation",depth:3,charIndex:3741},{text:"Asynchronous code",id:"asynchronous-code",depth:2,charIndex:4563},{text:"Handling asynchronous operations",id:"handling-asynchronous-operations",depth:3,charIndex:4989},{text:"Solution with fake timers",id:"solution-with-fake-timers",depth:3,charIndex:5865},{text:"Solution with real timers",id:"solution-with-real-timers",depth:3,charIndex:6403},{text:"References",id:"references",depth:2,charIndex:7864}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/advanced/understanding-act.mdx"},{title:"API Overview",routePath:"/14.x/docs/api",lang:"en",toc:[],frontmatter:{uri:"/api"},version:"14.x",_relativePath:"14.x/docs/api.md"},{title:"Fire Event API",routePath:"/14.x/docs/api/events/fire-event",lang:"en",toc:[{text:"`fireEvent`",id:"fireevent",depth:2,charIndex:-1},{text:"`fireEvent.press`",id:"fireeventpress",depth:3,charIndex:-1},{text:"`fireEvent.changeText`",id:"fireeventchangetext",depth:3,charIndex:-1},{text:"`fireEvent.scroll`",id:"fireeventscroll",depth:3,charIndex:-1},{text:"On a `ScrollView`",id:"on-a-scrollview",depth:4,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/events/fire-event.mdx"},{title:"User Event interactions",routePath:"/14.x/docs/api/events/user-event",lang:"en",toc:[{text:"Comparison with Fire Event API",id:"comparison-with-fire-event-api",depth:2,charIndex:3},{text:"`setup()`",id:"setup",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`press()`",id:"press",depth:2,charIndex:-1},{text:"`longPress()`",id:"longpress",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"`type()`",id:"type",depth:2,charIndex:-1},{text:"Options",id:"options-2",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events",depth:3,charIndex:-1},{text:"`clear()`",id:"clear",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-1",depth:3,charIndex:-1},{text:"`paste()`",id:"paste",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-2",depth:3,charIndex:-1},{text:"`scrollTo()`",id:"scroll-to",depth:2,charIndex:-1},{text:"Options",id:"options-3",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-3",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/events/user-event.mdx"},{title:"Jest matchers",routePath:"/14.x/docs/api/jest-matchers",lang:"en",toc:[{text:"Setup",id:"setup",depth:2,charIndex:173},{text:"Checking element existence",id:"checking-element-existence",depth:2,charIndex:355},{text:"`toBeOnTheScreen()`",id:"tobeonthescreen",depth:3,charIndex:-1},{text:"Element Content",id:"element-content",depth:2,charIndex:644},{text:"`toHaveTextContent()`",id:"tohavetextcontent",depth:3,charIndex:-1},{text:"`toContainElement()`",id:"tocontainelement",depth:3,charIndex:-1},{text:"`toBeEmptyElement()`",id:"tobeemptyelement",depth:3,charIndex:-1},{text:"Checking element state",id:"checking-element-state",depth:2,charIndex:1380},{text:"`toHaveDisplayValue()`",id:"tohavedisplayvalue",depth:3,charIndex:-1},{text:"`toHaveAccessibilityValue()`",id:"tohaveaccessibilityvalue",depth:3,charIndex:-1},{text:"`toBeEnabled()` / `toBeDisabled`",id:"tobeenabled--tobedisabled",depth:3,charIndex:-1},{text:"`toBeSelected()`",id:"tobeselected",depth:3,charIndex:-1},{text:"`toBeChecked()` / `toBePartiallyChecked()`",id:"tobechecked--tobepartiallychecked",depth:3,charIndex:-1},{text:"`toBeExpanded()` / `toBeCollapsed()`",id:"tobeexpanded--tobecollapsed",depth:3,charIndex:-1},{text:"`toBeBusy()`",id:"tobebusy",depth:3,charIndex:-1},{text:"Checking element style",id:"checking-element-style",depth:2,charIndex:4535},{text:"`toBeVisible()`",id:"tobevisible",depth:3,charIndex:-1},{text:"`toHaveStyle()`",id:"tohavestyle",depth:3,charIndex:-1},{text:"Other matchers",id:"other-matchers",depth:2,charIndex:5013},{text:"`toHaveAccessibleName()`",id:"tohaveaccessiblename",depth:3,charIndex:-1},{text:"`toHaveProp()`",id:"tohaveprop",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/jest-matchers.mdx"},{title:"Accessibility",routePath:"/14.x/docs/api/misc/accessibility",lang:"en",toc:[{text:"`isHiddenFromAccessibility`",id:"ishiddenfromaccessibility",depth:2,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/accessibility.mdx"},{title:"Async utilities",routePath:"/14.x/docs/api/misc/async",lang:"en",toc:[{text:"`findBy*` queries",id:"findby-queries",depth:2,charIndex:-1},{text:"`waitFor`",id:"waitfor",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:3660},{text:"`waitForElementToBeRemoved`",id:"waitforelementtoberemoved",depth:2,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/async.mdx"},{title:"Configuration",routePath:"/14.x/docs/api/misc/config",lang:"en",toc:[{text:"`configure`",id:"configure",depth:2,charIndex:-1},{text:"`asyncUtilTimeout` option",id:"asyncutiltimeout-option",depth:3,charIndex:-1},{text:"`defaultIncludeHiddenElements` option",id:"defaultincludehiddenelements-option",depth:3,charIndex:-1},{text:"`defaultDebugOptions` option",id:"defaultdebugoptions-option",depth:3,charIndex:-1},{text:"`resetToDefaults()`",id:"resettodefaults",depth:2,charIndex:-1},{text:"Environment variables",id:"environment-variables",depth:2,charIndex:1313},{text:"`RNTL_SKIP_AUTO_CLEANUP`",id:"rntl_skip_auto_cleanup",depth:3,charIndex:-1},{text:"`RNTL_SKIP_AUTO_DETECT_FAKE_TIMERS`",id:"rntl_skip_auto_detect_fake_timers",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/config.mdx"},{title:"Other helpers",routePath:"/14.x/docs/api/misc/other",lang:"en",toc:[{text:"`within`",id:"within",depth:2,charIndex:-1},{text:"`act`",id:"act",depth:2,charIndex:-1},{text:"`cleanup`",id:"cleanup",depth:2,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/other.mdx"},{title:"`renderHook` function",routePath:"/14.x/docs/api/misc/render-hook",lang:"en",toc:[{text:"`renderHook`",id:"renderhook",depth:2,charIndex:-1},{text:"`options`",id:"options",depth:3,charIndex:-1},{text:"`initialProps`",id:"initialprops",depth:4,charIndex:-1},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2336},{text:"`result`",id:"result-1",depth:4,charIndex:-1},{text:"`rerender`",id:"rerender",depth:4,charIndex:-1},{text:"`unmount`",id:"unmount",depth:4,charIndex:-1},{text:"Examples",id:"examples",depth:3,charIndex:3454},{text:"With `initialProps`",id:"with-initialprops",depth:4,charIndex:-1},{text:"With `wrapper`",id:"with-wrapper",depth:4,charIndex:-1},{text:"With React Suspense",id:"with-react-suspense",depth:4,charIndex:4501}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/render-hook.mdx"},{title:"Queries",routePath:"/14.x/docs/api/queries",lang:"en",toc:[{text:"Accessing queries",id:"accessing-queries",depth:2,charIndex:226},{text:"Using `screen` object",id:"using-screen-object",depth:3,charIndex:-1},{text:"Using `render` result",id:"using-render-result",depth:3,charIndex:-1},{text:"Query parts",id:"query-parts",depth:2,charIndex:1138},{text:"Query variant",id:"query-variant",depth:2,charIndex:1397},{text:"`getBy*` queries",id:"getby-queries",depth:3,charIndex:-1},{text:"`getAllBy*` queries",id:"getallby-queries",depth:3,charIndex:-1},{text:"`queryBy*` queries",id:"queryby-queries",depth:3,charIndex:-1},{text:"`queryAllBy*` queries",id:"queryallby-queries",depth:3,charIndex:-1},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"`findAllBy*` queries",id:"findallby-queries",depth:3,charIndex:-1},{text:"Query predicates",id:"query-predicates",depth:2,charIndex:4239},{text:"`*ByRole`",id:"byrole",depth:3,charIndex:-1},{text:"Options",id:"options",depth:4,charIndex:-1},{text:"`*ByLabelText`",id:"bylabeltext",depth:3,charIndex:-1},{text:"`*ByPlaceholderText`",id:"byplaceholdertext",depth:3,charIndex:-1},{text:"`*ByDisplayValue`",id:"bydisplayvalue",depth:3,charIndex:-1},{text:"`*ByText`",id:"bytext",depth:3,charIndex:-1},{text:"`*ByHintText`",id:"byhinttext",depth:3,charIndex:-1},{text:"`*ByTestId`",id:"bytestid",depth:3,charIndex:-1},{text:"Common options",id:"common-options",depth:3,charIndex:12692},{text:"`includeHiddenElements` option",id:"includehiddenelements-option",depth:4,charIndex:-1},{text:"TextMatch type",id:"textmatch-type",depth:2,charIndex:13851},{text:"Examples",id:"examples",depth:3,charIndex:14020},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"Precision",id:"precision",depth:4,charIndex:14846},{text:"Normalization",id:"normalization",depth:4,charIndex:15718}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/queries.mdx"},{title:"`render` API",routePath:"/14.x/docs/api/render",lang:"en",toc:[{text:"`render` function",id:"render-function",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:942},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"`createNodeMock`",id:"createnodemock",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2149}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/render.mdx"},{title:"`screen` object",routePath:"/14.x/docs/api/screen",lang:"en",toc:[{text:"`...queries`",id:"queries",depth:3,charIndex:-1},{text:"Example",id:"example",depth:4,charIndex:792},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"`debug`",id:"debug",depth:3,charIndex:-1},{text:"`message` option",id:"message-option",depth:4,charIndex:-1},{text:"`mapProps` option",id:"mapprops-option",depth:4,charIndex:-1},{text:"`toJSON`",id:"tojson",depth:3,charIndex:-1},{text:"`container`",id:"container",depth:3,charIndex:-1},{text:"`root`",id:"root",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/screen.mdx"},{title:"Community resources",routePath:"/14.x/docs/guides/community-resources",lang:"en",toc:[{text:"Recommended content",id:"recommended-content",depth:2,charIndex:3},{text:"Older, potentially outdated content",id:"older-potentially-outdated-content",depth:2,charIndex:601}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/community-resources.mdx"},{title:"FAQ",routePath:"/14.x/docs/guides/faq",lang:"en",toc:[{text:"Can I test the native features of React Native apps?",id:"can-i-test-the-native-features-of-react-native-apps",depth:2,charIndex:3},{text:"Should I use/migrate to `screen` queries?",id:"should-i-usemigrate-to-screen-queries",depth:2,charIndex:-1},{text:"Should I use/migrate to User Event interactions?",id:"should-i-usemigrate-to-user-event-interactions",depth:2,charIndex:1589}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/faq.mdx"},{title:"How should I query?",routePath:"/14.x/docs/guides/how-to-query",lang:"en",toc:[{text:"Query parts",id:"query-parts",depth:2,charIndex:273},{text:"Query variant",id:"query-variant",depth:2,charIndex:534},{text:"Idiomatic query variants",id:"idiomatic-query-variants",depth:3,charIndex:1357},{text:"Query predicate",id:"query-predicate",depth:2,charIndex:2310},{text:"Idiomatic query predicates",id:"idiomatic-query-predicates",depth:3,charIndex:3101},{text:"1. By Role query",id:"1-by-role-query",depth:3,charIndex:-1},{text:"Name option",id:"name-option",depth:4,charIndex:-1},{text:"2. Text input queries",id:"2-text-input-queries",depth:3,charIndex:-1},{text:"3. Other accessible queries",id:"3-other-accessible-queries",depth:3,charIndex:-1},{text:"4. Test ID query",id:"4-test-id-query",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/how-to-query.mdx"},{title:"Troubleshooting",routePath:"/14.x/docs/guides/troubleshooting",lang:"en",toc:[{text:"Example repository",id:"example-repository",depth:2,charIndex:116},{text:"Undefined component error",id:"undefined-component-error",depth:2,charIndex:365},{text:"Mocking React Native",id:"mocking-react-native",depth:3,charIndex:1468},{text:"Act warnings",id:"act-warnings",depth:2,charIndex:1799}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/troubleshooting.mdx"},{title:"Introduction",routePath:"/14.x/docs/start/intro",lang:"en",toc:[{text:"The problem",id:"the-problem",depth:2,charIndex:151},{text:"This solution",id:"this-solution",depth:2,charIndex:627},{text:"Example",id:"example",depth:2,charIndex:1140}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/start/intro.md"},{title:"Migration to 14.x",routePath:"/14.x/docs/start/migration-v14",lang:"en",toc:[{text:"Overview",id:"overview",depth:2,charIndex:249},{text:"Quick Migration",id:"quick-migration",depth:2,charIndex:912},{text:"Breaking Changes",id:"breaking-changes",depth:2,charIndex:1119},{text:"Supported React and React Native versions",id:"supported-react-and-react-native-versions",depth:3,charIndex:1139},{text:"Test Renderer replaces React Test Renderer",id:"test-renderer-replaces-react-test-renderer",depth:3,charIndex:1442},{text:"1. Update dependencies",id:"1-update-dependencies",depth:4,charIndex:2042},{text:"2. Update type imports (if needed)",id:"2-update-type-imports-if-needed",depth:4,charIndex:2228},{text:"Async APIs by Default",id:"async-apis-by-default",depth:3,charIndex:2586},{text:"`render` is now async",id:"render-is-now-async",depth:4,charIndex:-1},{text:"`renderHook` is now async",id:"renderhook-is-now-async",depth:4,charIndex:-1},{text:"`fireEvent` is now async",id:"fireevent-is-now-async",depth:4,charIndex:-1},{text:"`act` is now async",id:"act-is-now-async",depth:4,charIndex:-1},{text:"Benefits of Async APIs",id:"benefits-of-async-apis",depth:4,charIndex:5714},{text:"Removed APIs",id:"removed-apis",depth:3,charIndex:6043},{text:"`update` alias removed",id:"update-alias-removed",depth:4,charIndex:-1},{text:"`getQueriesForElement` export removed",id:"getqueriesforelement-export-removed",depth:4,charIndex:-1},{text:"`UNSAFE_root` removed",id:"unsafe_root-removed",depth:4,charIndex:-1},{text:"Legacy `UNSAFE_*` queries removed",id:"legacy-unsafe_-queries-removed",depth:4,charIndex:-1},{text:"`concurrentRoot` option removed",id:"concurrentroot-option-removed",depth:4,charIndex:-1},{text:"`container` API reintroduced",id:"container-api-reintroduced",depth:3,charIndex:-1},{text:"Text string validation enforced by default",id:"text-string-validation-enforced-by-default",depth:3,charIndex:9911},{text:"Codemods",id:"codemods",depth:2,charIndex:11215},{text:"`rntl-v14-update-deps`",id:"rntl-v14-update-deps",depth:3,charIndex:-1},{text:"`rntl-v14-async-functions`",id:"rntl-v14-async-functions",depth:3,charIndex:-1},{text:"Custom render functions",id:"custom-render-functions",depth:4,charIndex:11852},{text:"Limitations",id:"limitations",depth:4,charIndex:12215},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:12360}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/start/migration-v14.mdx"},{title:"Quick Start",routePath:"/14.x/docs/start/quick-start",lang:"en",toc:[{text:"Installation",id:"installation",depth:2,charIndex:151},{text:"Jest matchers",id:"jest-matchers",depth:3,charIndex:429},{text:"ESLint plugin",id:"eslint-plugin",depth:3,charIndex:663}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/start/quick-start.mdx"},{title:"",routePath:"/14.x/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{name:"React Native Testing Library",image:{src:"/img/owl.png"},tagline:"Helps you to write better tests with less effort.",actions:[{theme:"brand",text:"Quick Start",link:"/14.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/14.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:"✨"},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:"✅"},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:"❤️"}]},version:"14.x",_relativePath:"14.x/index.md"},{title:"",routePath:"/404",lang:"en",toc:[],frontmatter:{pageType:"custom"},version:"13.x",_relativePath:"404.mdx"}]},i={"12.x###en":"2e9f93c8","13.x###en":"d71f424f","14.x###en":"42597e85"}},7295(e,t,n){n.d(t,{A:()=>a});let a={github:''}},3283(e,t,n){n.d(t,{A:()=>a});let a={languagesText:{en:"Languages"},themeText:{en:"Theme"},versionsText:{en:"Versions"},menuTitle:{en:"Menu"},outlineTitle:{en:"Contents"},scrollToTopText:{en:"Back to top"},lastUpdatedText:{en:"Last Updated"},prevPageText:{en:"Previous page"},nextPageText:{en:"Next page"},sourceCodeText:{en:"Source Code"},searchPlaceholderText:{en:"Search"},searchPanelCancelText:{en:"Cancel"},searchNoResultsText:{en:"No results found, try something different than"},searchSuggestedQueryText:{en:" "},"overview.filterNameText":{en:" "},"overview.filterPlaceholderText":{en:"Search API"},"overview.filterNoResultText":{en:"No matching API found"},editLinkText:{en:"Edit this page on GitHub"},codeButtonGroupCopyButtonText:{en:"Copy code"},notFoundText:{en:"PAGE NOT FOUND"},takeMeHomeText:{en:"Take me home"}}},7038(e,t,n){n.d(t,{A:()=>d});var a=n(1742),i=n(7407);let d=[[a.A,{}],[i.A,{mode:"production"}]]},1457(e,t,n){n(6761),n(6523)},909(e,t,n){n.r(t),n.d(t,{onSearch:()=>a});let a=()=>{}},3809(e,t,n){n.d(t,{J:()=>eJ});var a=n(6540),i=n(4764);let d=(0,i.lazyWithPreload)(()=>n.e("9056").then(n.bind(n,9155))),r=(0,i.lazyWithPreload)(()=>n.e("8136").then(n.bind(n,8619))),o=(0,i.lazyWithPreload)(()=>n.e("1054").then(n.bind(n,3149))),s=(0,i.lazyWithPreload)(()=>n.e("1464").then(n.bind(n,8971))),c=(0,i.lazyWithPreload)(()=>n.e("3117").then(n.bind(n,8828))),h=(0,i.lazyWithPreload)(()=>n.e("759").then(n.bind(n,362))),l=(0,i.lazyWithPreload)(()=>n.e("1354").then(n.bind(n,2017))),x=(0,i.lazyWithPreload)(()=>n.e("5314").then(n.bind(n,5641))),p=(0,i.lazyWithPreload)(()=>n.e("9000").then(n.bind(n,9595))),m=(0,i.lazyWithPreload)(()=>n.e("5843").then(n.bind(n,8670))),u=(0,i.lazyWithPreload)(()=>n.e("5785").then(n.bind(n,5696))),g=(0,i.lazyWithPreload)(()=>n.e("8894").then(n.bind(n,8285))),v=(0,i.lazyWithPreload)(()=>n.e("818").then(n.bind(n,7241))),b=(0,i.lazyWithPreload)(()=>n.e("6556").then(n.bind(n,6503))),y=(0,i.lazyWithPreload)(()=>n.e("1784").then(n.bind(n,2363))),I=(0,i.lazyWithPreload)(()=>n.e("9621").then(n.bind(n,9337))),f=(0,i.lazyWithPreload)(()=>n.e("5299").then(n.bind(n,2318))),k=(0,i.lazyWithPreload)(()=>n.e("6961").then(n.bind(n,2984))),P=(0,i.lazyWithPreload)(()=>n.e("3325").then(n.bind(n,9708))),w=(0,i.lazyWithPreload)(()=>n.e("935").then(n.bind(n,9962))),q=(0,i.lazyWithPreload)(()=>n.e("1494").then(n.bind(n,3557))),E=(0,i.lazyWithPreload)(()=>n.e("2903").then(n.bind(n,6202))),T=(0,i.lazyWithPreload)(()=>n.e("5860").then(n.bind(n,3727))),A=(0,i.lazyWithPreload)(()=>n.e("1005").then(n.bind(n,6412))),R=(0,i.lazyWithPreload)(()=>n.e("4055").then(n.bind(n,90))),_=(0,i.lazyWithPreload)(()=>n.e("865").then(n.bind(n,9784))),B=(0,i.lazyWithPreload)(()=>n.e("2346").then(n.bind(n,5313))),C=(0,i.lazyWithPreload)(()=>n.e("2604").then(n.bind(n,4135))),S=(0,i.lazyWithPreload)(()=>n.e("9574").then(n.bind(n,3653))),W=(0,i.lazyWithPreload)(()=>n.e("7193").then(n.bind(n,4976))),z=(0,i.lazyWithPreload)(()=>n.e("7817").then(n.bind(n,3840))),N=(0,i.lazyWithPreload)(()=>n.e("4566").then(n.bind(n,1925))),j=(0,i.lazyWithPreload)(()=>n.e("2147").then(n.bind(n,7438))),O=(0,i.lazyWithPreload)(()=>n.e("569").then(n.bind(n,4736))),M=(0,i.lazyWithPreload)(()=>n.e("8247").then(n.bind(n,8986))),F=(0,i.lazyWithPreload)(()=>n.e("9643").then(n.bind(n,470))),U=(0,i.lazyWithPreload)(()=>n.e("5184").then(n.bind(n,4899))),H=(0,i.lazyWithPreload)(()=>n.e("2000").then(n.bind(n,8739))),Q=(0,i.lazyWithPreload)(()=>n.e("7013").then(n.bind(n,660))),L=(0,i.lazyWithPreload)(()=>n.e("4037").then(n.bind(n,7812))),G=(0,i.lazyWithPreload)(()=>n.e("9545").then(n.bind(n,7120))),D=(0,i.lazyWithPreload)(()=>n.e("2145").then(n.bind(n,6392))),J=(0,i.lazyWithPreload)(()=>n.e("2718").then(n.bind(n,9789))),V=(0,i.lazyWithPreload)(()=>n.e("8792").then(n.bind(n,4603))),K=(0,i.lazyWithPreload)(()=>n.e("273").then(n.bind(n,7224))),Y=(0,i.lazyWithPreload)(()=>n.e("7233").then(n.bind(n,8312))),Z=(0,i.lazyWithPreload)(()=>n.e("725").then(n.bind(n,5412))),X=(0,i.lazyWithPreload)(()=>n.e("3583").then(n.bind(n,8914))),$=(0,i.lazyWithPreload)(()=>n.e("477").then(n.bind(n,9628))),ee=(0,i.lazyWithPreload)(()=>n.e("6702").then(n.bind(n,9133))),et=(0,i.lazyWithPreload)(()=>n.e("1918").then(n.bind(n,7821))),en=(0,i.lazyWithPreload)(()=>n.e("9790").then(n.bind(n,1325))),ea=(0,i.lazyWithPreload)(()=>n.e("2232").then(n.bind(n,8155))),ei=(0,i.lazyWithPreload)(()=>n.e("41").then(n.bind(n,6560))),ed=(0,i.lazyWithPreload)(()=>n.e("5422").then(n.bind(n,8781))),er=(0,i.lazyWithPreload)(()=>n.e("2839").then(n.bind(n,6746))),eo=(0,i.lazyWithPreload)(()=>n.e("39").then(n.bind(n,1914))),es=(0,i.lazyWithPreload)(()=>n.e("9652").then(n.bind(n,9279))),ec=(0,i.lazyWithPreload)(()=>n.e("4120").then(n.bind(n,8491))),eh=(0,i.lazyWithPreload)(()=>n.e("197").then(n.bind(n,8996))),el=(0,i.lazyWithPreload)(()=>n.e("5792").then(n.bind(n,4099))),ex=(0,i.lazyWithPreload)(()=>n.e("5167").then(n.bind(n,5378))),ep=(0,i.lazyWithPreload)(()=>n.e("85").then(n.bind(n,7924))),em=(0,i.lazyWithPreload)(()=>n.e("4844").then(n.bind(n,1079))),eu=(0,i.lazyWithPreload)(()=>n.e("2026").then(n.bind(n,2289))),eg=(0,i.lazyWithPreload)(()=>n.e("9400").then(n.bind(n,8891))),ev=(0,i.lazyWithPreload)(()=>n.e("7783").then(n.bind(n,6954))),eb=(0,i.lazyWithPreload)(()=>n.e("8158").then(n.bind(n,2381))),ey=(0,i.lazyWithPreload)(()=>n.e("1100").then(n.bind(n,3143))),eI=(0,i.lazyWithPreload)(()=>n.e("6924").then(n.bind(n,7831))),ef=(0,i.lazyWithPreload)(()=>n.e("9610").then(n.bind(n,529))),ek=(0,i.lazyWithPreload)(()=>n.e("6531").then(n.bind(n,7166))),eP=(0,i.lazyWithPreload)(()=>n.e("8653").then(n.bind(n,764))),ew=(0,i.lazyWithPreload)(()=>n.e("6112").then(n.bind(n,5059))),eq=(0,i.lazyWithPreload)(()=>n.e("4576").then(n.bind(n,1779))),eE=(0,i.lazyWithPreload)(()=>n.e("2324").then(n.bind(n,6911))),eT=(0,i.lazyWithPreload)(()=>n.e("3170").then(n.bind(n,7209))),eA=(0,i.lazyWithPreload)(()=>n.e("4293").then(n.bind(n,1108))),eR=(0,i.lazyWithPreload)(()=>n.e("3711").then(n.bind(n,6498))),e_=(0,i.lazyWithPreload)(()=>n.e("6036").then(n.bind(n,2783))),eB=(0,i.lazyWithPreload)(()=>n.e("48").then(n.bind(n,579))),eC=(0,i.lazyWithPreload)(()=>n.e("4838").then(n.bind(n,6645))),eS=(0,i.lazyWithPreload)(()=>n.e("2").then(n.bind(n,5961))),eW=(0,i.lazyWithPreload)(()=>n.e("212").then(n.bind(n,2047))),ez=(0,i.lazyWithPreload)(()=>n.e("3869").then(n.bind(n,1020))),eN=(0,i.lazyWithPreload)(()=>n.e("4939").then(n.bind(n,9366))),ej=(0,i.lazyWithPreload)(()=>n.e("1035").then(n.bind(n,7478))),eO=(0,i.lazyWithPreload)(()=>n.e("841").then(n.bind(n,672))),eM=(0,i.lazyWithPreload)(()=>n.e("968").then(n.bind(n,9675))),eF=(0,i.lazyWithPreload)(()=>n.e("9705").then(n.bind(n,816))),eU=(0,i.lazyWithPreload)(()=>n.e("2002").then(n.bind(n,4921))),eH=(0,i.lazyWithPreload)(()=>n.e("1523").then(n.bind(n,9022))),eQ=(0,i.lazyWithPreload)(()=>n.e("79").then(n.bind(n,8898))),eL=(0,i.lazyWithPreload)(()=>n.e("7963").then(n.bind(n,4438))),eG=(0,i.lazyWithPreload)(()=>n.e("3736").then(n.bind(n,536))),eD=(0,i.lazyWithPreload)(()=>n.e("306").then(n.bind(n,6089))),eJ=[{path:"/12.x/cookbook/advanced/network-requests",element:a.createElement(d),filePath:"12.x/cookbook/advanced/network-requests.md",preload:async()=>(await d.preload(),n.e("9056").then(n.bind(n,9155))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/basics/async-tests",element:a.createElement(r),filePath:"12.x/cookbook/basics/async-tests.md",preload:async()=>(await r.preload(),n.e("8136").then(n.bind(n,8619))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/basics/custom-render",element:a.createElement(o),filePath:"12.x/cookbook/basics/custom-render.md",preload:async()=>(await o.preload(),n.e("1054").then(n.bind(n,3149))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/",element:a.createElement(s),filePath:"12.x/cookbook/index.md",preload:async()=>(await s.preload(),n.e("1464").then(n.bind(n,8971))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/state-management/jotai",element:a.createElement(c),filePath:"12.x/cookbook/state-management/jotai.md",preload:async()=>(await c.preload(),n.e("3117").then(n.bind(n,8828))),lang:"en",version:"12.x"},{path:"/12.x/docs/advanced/testing-env",element:a.createElement(h),filePath:"12.x/docs/advanced/testing-env.mdx",preload:async()=>(await h.preload(),n.e("759").then(n.bind(n,362))),lang:"en",version:"12.x"},{path:"/12.x/docs/advanced/understanding-act",element:a.createElement(l),filePath:"12.x/docs/advanced/understanding-act.mdx",preload:async()=>(await l.preload(),n.e("1354").then(n.bind(n,2017))),lang:"en",version:"12.x"},{path:"/12.x/docs/api",element:a.createElement(x),filePath:"12.x/docs/api.md",preload:async()=>(await x.preload(),n.e("5314").then(n.bind(n,5641))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/events/fire-event",element:a.createElement(p),filePath:"12.x/docs/api/events/fire-event.mdx",preload:async()=>(await p.preload(),n.e("9000").then(n.bind(n,9595))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/events/user-event",element:a.createElement(m),filePath:"12.x/docs/api/events/user-event.mdx",preload:async()=>(await m.preload(),n.e("5843").then(n.bind(n,8670))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/jest-matchers",element:a.createElement(u),filePath:"12.x/docs/api/jest-matchers.mdx",preload:async()=>(await u.preload(),n.e("5785").then(n.bind(n,5696))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/accessibility",element:a.createElement(g),filePath:"12.x/docs/api/misc/accessibility.mdx",preload:async()=>(await g.preload(),n.e("8894").then(n.bind(n,8285))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/async",element:a.createElement(v),filePath:"12.x/docs/api/misc/async.mdx",preload:async()=>(await v.preload(),n.e("818").then(n.bind(n,7241))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/config",element:a.createElement(b),filePath:"12.x/docs/api/misc/config.mdx",preload:async()=>(await b.preload(),n.e("6556").then(n.bind(n,6503))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/other",element:a.createElement(y),filePath:"12.x/docs/api/misc/other.mdx",preload:async()=>(await y.preload(),n.e("1784").then(n.bind(n,2363))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/render-hook",element:a.createElement(I),filePath:"12.x/docs/api/misc/render-hook.mdx",preload:async()=>(await I.preload(),n.e("9621").then(n.bind(n,9337))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/queries",element:a.createElement(f),filePath:"12.x/docs/api/queries.mdx",preload:async()=>(await f.preload(),n.e("5299").then(n.bind(n,2318))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/render",element:a.createElement(k),filePath:"12.x/docs/api/render.mdx",preload:async()=>(await k.preload(),n.e("6961").then(n.bind(n,2984))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/screen",element:a.createElement(P),filePath:"12.x/docs/api/screen.mdx",preload:async()=>(await P.preload(),n.e("3325").then(n.bind(n,9708))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/community-resources",element:a.createElement(w),filePath:"12.x/docs/guides/community-resources.mdx",preload:async()=>(await w.preload(),n.e("935").then(n.bind(n,9962))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/faq",element:a.createElement(q),filePath:"12.x/docs/guides/faq.mdx",preload:async()=>(await q.preload(),n.e("1494").then(n.bind(n,3557))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/how-to-query",element:a.createElement(E),filePath:"12.x/docs/guides/how-to-query.mdx",preload:async()=>(await E.preload(),n.e("2903").then(n.bind(n,6202))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/troubleshooting",element:a.createElement(T),filePath:"12.x/docs/guides/troubleshooting.mdx",preload:async()=>(await T.preload(),n.e("5860").then(n.bind(n,3727))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/jest-matchers",element:a.createElement(A),filePath:"12.x/docs/migration/jest-matchers.mdx",preload:async()=>(await A.preload(),n.e("1005").then(n.bind(n,6412))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v11",element:a.createElement(R),filePath:"12.x/docs/migration/previous/v11.mdx",preload:async()=>(await R.preload(),n.e("4055").then(n.bind(n,90))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v2",element:a.createElement(_),filePath:"12.x/docs/migration/previous/v2.mdx",preload:async()=>(await _.preload(),n.e("865").then(n.bind(n,9784))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v7",element:a.createElement(B),filePath:"12.x/docs/migration/previous/v7.mdx",preload:async()=>(await B.preload(),n.e("2346").then(n.bind(n,5313))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v9",element:a.createElement(C),filePath:"12.x/docs/migration/previous/v9.mdx",preload:async()=>(await C.preload(),n.e("2604").then(n.bind(n,4135))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/v12",element:a.createElement(S),filePath:"12.x/docs/migration/v12.mdx",preload:async()=>(await S.preload(),n.e("9574").then(n.bind(n,3653))),lang:"en",version:"12.x"},{path:"/12.x/docs/start/intro",element:a.createElement(W),filePath:"12.x/docs/start/intro.md",preload:async()=>(await W.preload(),n.e("7193").then(n.bind(n,4976))),lang:"en",version:"12.x"},{path:"/12.x/docs/start/quick-start",element:a.createElement(z),filePath:"12.x/docs/start/quick-start.mdx",preload:async()=>(await z.preload(),n.e("7817").then(n.bind(n,3840))),lang:"en",version:"12.x"},{path:"/12.x/",element:a.createElement(N),filePath:"12.x/index.md",preload:async()=>(await N.preload(),n.e("4566").then(n.bind(n,1925))),lang:"en",version:"12.x"},{path:"/cookbook/advanced/network-requests",element:a.createElement(j),filePath:"13.x/cookbook/advanced/network-requests.md",preload:async()=>(await j.preload(),n.e("2147").then(n.bind(n,7438))),lang:"en",version:"13.x"},{path:"/cookbook/basics/async-tests",element:a.createElement(O),filePath:"13.x/cookbook/basics/async-tests.md",preload:async()=>(await O.preload(),n.e("569").then(n.bind(n,4736))),lang:"en",version:"13.x"},{path:"/cookbook/basics/custom-render",element:a.createElement(M),filePath:"13.x/cookbook/basics/custom-render.md",preload:async()=>(await M.preload(),n.e("8247").then(n.bind(n,8986))),lang:"en",version:"13.x"},{path:"/cookbook/",element:a.createElement(F),filePath:"13.x/cookbook/index.md",preload:async()=>(await F.preload(),n.e("9643").then(n.bind(n,470))),lang:"en",version:"13.x"},{path:"/cookbook/state-management/jotai",element:a.createElement(U),filePath:"13.x/cookbook/state-management/jotai.md",preload:async()=>(await U.preload(),n.e("5184").then(n.bind(n,4899))),lang:"en",version:"13.x"},{path:"/docs/advanced/testing-env",element:a.createElement(H),filePath:"13.x/docs/advanced/testing-env.mdx",preload:async()=>(await H.preload(),n.e("2000").then(n.bind(n,8739))),lang:"en",version:"13.x"},{path:"/docs/advanced/third-party-integration",element:a.createElement(Q),filePath:"13.x/docs/advanced/third-party-integration.mdx",preload:async()=>(await Q.preload(),n.e("7013").then(n.bind(n,660))),lang:"en",version:"13.x"},{path:"/docs/advanced/understanding-act",element:a.createElement(L),filePath:"13.x/docs/advanced/understanding-act.mdx",preload:async()=>(await L.preload(),n.e("4037").then(n.bind(n,7812))),lang:"en",version:"13.x"},{path:"/docs/api",element:a.createElement(G),filePath:"13.x/docs/api.md",preload:async()=>(await G.preload(),n.e("9545").then(n.bind(n,7120))),lang:"en",version:"13.x"},{path:"/docs/api/events/fire-event",element:a.createElement(D),filePath:"13.x/docs/api/events/fire-event.mdx",preload:async()=>(await D.preload(),n.e("2145").then(n.bind(n,6392))),lang:"en",version:"13.x"},{path:"/docs/api/events/user-event",element:a.createElement(J),filePath:"13.x/docs/api/events/user-event.mdx",preload:async()=>(await J.preload(),n.e("2718").then(n.bind(n,9789))),lang:"en",version:"13.x"},{path:"/docs/api/jest-matchers",element:a.createElement(V),filePath:"13.x/docs/api/jest-matchers.mdx",preload:async()=>(await V.preload(),n.e("8792").then(n.bind(n,4603))),lang:"en",version:"13.x"},{path:"/docs/api/misc/accessibility",element:a.createElement(K),filePath:"13.x/docs/api/misc/accessibility.mdx",preload:async()=>(await K.preload(),n.e("273").then(n.bind(n,7224))),lang:"en",version:"13.x"},{path:"/docs/api/misc/async",element:a.createElement(Y),filePath:"13.x/docs/api/misc/async.mdx",preload:async()=>(await Y.preload(),n.e("7233").then(n.bind(n,8312))),lang:"en",version:"13.x"},{path:"/docs/api/misc/config",element:a.createElement(Z),filePath:"13.x/docs/api/misc/config.mdx",preload:async()=>(await Z.preload(),n.e("725").then(n.bind(n,5412))),lang:"en",version:"13.x"},{path:"/docs/api/misc/other",element:a.createElement(X),filePath:"13.x/docs/api/misc/other.mdx",preload:async()=>(await X.preload(),n.e("3583").then(n.bind(n,8914))),lang:"en",version:"13.x"},{path:"/docs/api/misc/render-hook",element:a.createElement($),filePath:"13.x/docs/api/misc/render-hook.mdx",preload:async()=>(await $.preload(),n.e("477").then(n.bind(n,9628))),lang:"en",version:"13.x"},{path:"/docs/api/queries",element:a.createElement(ee),filePath:"13.x/docs/api/queries.mdx",preload:async()=>(await ee.preload(),n.e("6702").then(n.bind(n,9133))),lang:"en",version:"13.x"},{path:"/docs/api/render",element:a.createElement(et),filePath:"13.x/docs/api/render.mdx",preload:async()=>(await et.preload(),n.e("1918").then(n.bind(n,7821))),lang:"en",version:"13.x"},{path:"/docs/api/screen",element:a.createElement(en),filePath:"13.x/docs/api/screen.mdx",preload:async()=>(await en.preload(),n.e("9790").then(n.bind(n,1325))),lang:"en",version:"13.x"},{path:"/docs/guides/community-resources",element:a.createElement(ea),filePath:"13.x/docs/guides/community-resources.mdx",preload:async()=>(await ea.preload(),n.e("2232").then(n.bind(n,8155))),lang:"en",version:"13.x"},{path:"/docs/guides/faq",element:a.createElement(ei),filePath:"13.x/docs/guides/faq.mdx",preload:async()=>(await ei.preload(),n.e("41").then(n.bind(n,6560))),lang:"en",version:"13.x"},{path:"/docs/guides/how-to-query",element:a.createElement(ed),filePath:"13.x/docs/guides/how-to-query.mdx",preload:async()=>(await ed.preload(),n.e("5422").then(n.bind(n,8781))),lang:"en",version:"13.x"},{path:"/docs/guides/react-19",element:a.createElement(er),filePath:"13.x/docs/guides/react-19.mdx",preload:async()=>(await er.preload(),n.e("2839").then(n.bind(n,6746))),lang:"en",version:"13.x"},{path:"/docs/guides/troubleshooting",element:a.createElement(eo),filePath:"13.x/docs/guides/troubleshooting.mdx",preload:async()=>(await eo.preload(),n.e("39").then(n.bind(n,1914))),lang:"en",version:"13.x"},{path:"/docs/migration/jest-matchers",element:a.createElement(es),filePath:"13.x/docs/migration/jest-matchers.mdx",preload:async()=>(await es.preload(),n.e("9652").then(n.bind(n,9279))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v11",element:a.createElement(ec),filePath:"13.x/docs/migration/previous/v11.mdx",preload:async()=>(await ec.preload(),n.e("4120").then(n.bind(n,8491))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v12",element:a.createElement(eh),filePath:"13.x/docs/migration/previous/v12.mdx",preload:async()=>(await eh.preload(),n.e("197").then(n.bind(n,8996))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v2",element:a.createElement(el),filePath:"13.x/docs/migration/previous/v2.mdx",preload:async()=>(await el.preload(),n.e("5792").then(n.bind(n,4099))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v7",element:a.createElement(ex),filePath:"13.x/docs/migration/previous/v7.mdx",preload:async()=>(await ex.preload(),n.e("5167").then(n.bind(n,5378))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v9",element:a.createElement(ep),filePath:"13.x/docs/migration/previous/v9.mdx",preload:async()=>(await ep.preload(),n.e("85").then(n.bind(n,7924))),lang:"en",version:"13.x"},{path:"/docs/migration/v13",element:a.createElement(em),filePath:"13.x/docs/migration/v13.mdx",preload:async()=>(await em.preload(),n.e("4844").then(n.bind(n,1079))),lang:"en",version:"13.x"},{path:"/docs/start/intro",element:a.createElement(eu),filePath:"13.x/docs/start/intro.md",preload:async()=>(await eu.preload(),n.e("2026").then(n.bind(n,2289))),lang:"en",version:"13.x"},{path:"/docs/start/quick-start",element:a.createElement(eg),filePath:"13.x/docs/start/quick-start.mdx",preload:async()=>(await eg.preload(),n.e("9400").then(n.bind(n,8891))),lang:"en",version:"13.x"},{path:"/",element:a.createElement(ev),filePath:"13.x/index.md",preload:async()=>(await ev.preload(),n.e("7783").then(n.bind(n,6954))),lang:"en",version:"13.x"},{path:"/14.x/cookbook/advanced/network-requests",element:a.createElement(eb),filePath:"14.x/cookbook/advanced/network-requests.md",preload:async()=>(await eb.preload(),n.e("8158").then(n.bind(n,2381))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/basics/async-events",element:a.createElement(ey),filePath:"14.x/cookbook/basics/async-events.md",preload:async()=>(await ey.preload(),n.e("1100").then(n.bind(n,3143))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/basics/custom-render",element:a.createElement(eI),filePath:"14.x/cookbook/basics/custom-render.md",preload:async()=>(await eI.preload(),n.e("6924").then(n.bind(n,7831))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/",element:a.createElement(ef),filePath:"14.x/cookbook/index.md",preload:async()=>(await ef.preload(),n.e("9610").then(n.bind(n,529))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/state-management/jotai",element:a.createElement(ek),filePath:"14.x/cookbook/state-management/jotai.md",preload:async()=>(await ek.preload(),n.e("6531").then(n.bind(n,7166))),lang:"en",version:"14.x"},{path:"/14.x/docs/advanced/testing-env",element:a.createElement(eP),filePath:"14.x/docs/advanced/testing-env.mdx",preload:async()=>(await eP.preload(),n.e("8653").then(n.bind(n,764))),lang:"en",version:"14.x"},{path:"/14.x/docs/advanced/third-party-integration",element:a.createElement(ew),filePath:"14.x/docs/advanced/third-party-integration.mdx",preload:async()=>(await ew.preload(),n.e("6112").then(n.bind(n,5059))),lang:"en",version:"14.x"},{path:"/14.x/docs/advanced/understanding-act",element:a.createElement(eq),filePath:"14.x/docs/advanced/understanding-act.mdx",preload:async()=>(await eq.preload(),n.e("4576").then(n.bind(n,1779))),lang:"en",version:"14.x"},{path:"/14.x/docs/api",element:a.createElement(eE),filePath:"14.x/docs/api.md",preload:async()=>(await eE.preload(),n.e("2324").then(n.bind(n,6911))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/events/fire-event",element:a.createElement(eT),filePath:"14.x/docs/api/events/fire-event.mdx",preload:async()=>(await eT.preload(),n.e("3170").then(n.bind(n,7209))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/events/user-event",element:a.createElement(eA),filePath:"14.x/docs/api/events/user-event.mdx",preload:async()=>(await eA.preload(),n.e("4293").then(n.bind(n,1108))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/jest-matchers",element:a.createElement(eR),filePath:"14.x/docs/api/jest-matchers.mdx",preload:async()=>(await eR.preload(),n.e("3711").then(n.bind(n,6498))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/accessibility",element:a.createElement(e_),filePath:"14.x/docs/api/misc/accessibility.mdx",preload:async()=>(await e_.preload(),n.e("6036").then(n.bind(n,2783))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/async",element:a.createElement(eB),filePath:"14.x/docs/api/misc/async.mdx",preload:async()=>(await eB.preload(),n.e("48").then(n.bind(n,579))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/config",element:a.createElement(eC),filePath:"14.x/docs/api/misc/config.mdx",preload:async()=>(await eC.preload(),n.e("4838").then(n.bind(n,6645))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/other",element:a.createElement(eS),filePath:"14.x/docs/api/misc/other.mdx",preload:async()=>(await eS.preload(),n.e("2").then(n.bind(n,5961))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/render-hook",element:a.createElement(eW),filePath:"14.x/docs/api/misc/render-hook.mdx",preload:async()=>(await eW.preload(),n.e("212").then(n.bind(n,2047))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/queries",element:a.createElement(ez),filePath:"14.x/docs/api/queries.mdx",preload:async()=>(await ez.preload(),n.e("3869").then(n.bind(n,1020))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/render",element:a.createElement(eN),filePath:"14.x/docs/api/render.mdx",preload:async()=>(await eN.preload(),n.e("4939").then(n.bind(n,9366))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/screen",element:a.createElement(ej),filePath:"14.x/docs/api/screen.mdx",preload:async()=>(await ej.preload(),n.e("1035").then(n.bind(n,7478))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/community-resources",element:a.createElement(eO),filePath:"14.x/docs/guides/community-resources.mdx",preload:async()=>(await eO.preload(),n.e("841").then(n.bind(n,672))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/faq",element:a.createElement(eM),filePath:"14.x/docs/guides/faq.mdx",preload:async()=>(await eM.preload(),n.e("968").then(n.bind(n,9675))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/how-to-query",element:a.createElement(eF),filePath:"14.x/docs/guides/how-to-query.mdx",preload:async()=>(await eF.preload(),n.e("9705").then(n.bind(n,816))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/troubleshooting",element:a.createElement(eU),filePath:"14.x/docs/guides/troubleshooting.mdx",preload:async()=>(await eU.preload(),n.e("2002").then(n.bind(n,4921))),lang:"en",version:"14.x"},{path:"/14.x/docs/start/intro",element:a.createElement(eH),filePath:"14.x/docs/start/intro.md",preload:async()=>(await eH.preload(),n.e("1523").then(n.bind(n,9022))),lang:"en",version:"14.x"},{path:"/14.x/docs/start/migration-v14",element:a.createElement(eQ),filePath:"14.x/docs/start/migration-v14.mdx",preload:async()=>(await eQ.preload(),n.e("79").then(n.bind(n,8898))),lang:"en",version:"14.x"},{path:"/14.x/docs/start/quick-start",element:a.createElement(eL),filePath:"14.x/docs/start/quick-start.mdx",preload:async()=>(await eL.preload(),n.e("7963").then(n.bind(n,4438))),lang:"en",version:"14.x"},{path:"/14.x/",element:a.createElement(eG),filePath:"14.x/index.md",preload:async()=>(await eG.preload(),n.e("3736").then(n.bind(n,536))),lang:"en",version:"14.x"},{path:"/404",element:a.createElement(eD),filePath:"404.mdx",preload:async()=>(await eD.preload(),n.e("306").then(n.bind(n,6089))),lang:"en",version:"13.x"}]},6189(e,t,n){n.d(t,{A:()=>a});let a={base:"/react-native-testing-library/",title:"React Native Testing Library",description:"Helps you to write better tests with less effort.",icon:"/owl.png",route:{cleanUrls:!0},themeConfig:{enableContentAnimation:!0,enableScrollToTop:!0,outlineTitle:"Contents",footer:{message:"Copyright \xa9 2026 Callstack Open Source"},socialLinks:[{icon:"github",mode:"link",content:"https://github.com/callstack/react-native-testing-library"}],nav:[{text:"Docs",link:"/docs/start/intro.html",activeMatch:"^/docs/"},{text:"Cookbook",link:"/cookbook/index.html",activeMatch:"^/cookbook/"},{text:"Examples",link:"https://github.com/callstack/react-native-testing-library/tree/main/examples"}],sidebar:{"/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/docs/start/intro.html"},{text:"Quick Start",link:"/docs/start/quick-start.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/docs/api/render.html"},{text:"Screen object",link:"/docs/api/screen.html"},{text:"Queries",link:"/docs/api/queries.html"},{text:"Jest Matchers",link:"/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/docs/api/events/fire-event.html"},{text:"User Event",link:"/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/docs/api/misc/async.html"},{text:"Config",link:"/docs/api/misc/config.html"},{text:"Other",link:"/docs/api/misc/other.html"},{text:"Render Hook",link:"/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/docs/guides/how-to-query.html"},{text:"React 19",link:"/docs/guides/react-19.html"},{text:"Troubleshooting",link:"/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/docs/guides/faq.html"},{text:"Community Resources",link:"/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/docs/advanced/testing-env.html"},{text:"Third-party Integration",link:"/docs/advanced/third-party-integration.html"},{text:"Understanding Act",link:"/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0},{text:"Migration Guides",collapsed:!0,items:[{text:"v13 Migration",link:"/docs/migration/v13.html"},{text:"Jest Matchers",link:"/docs/migration/jest-matchers.html"},{text:"Previous versions",collapsed:!0,items:[{text:"v12",link:"/docs/migration/previous/v12.html"},{text:"v11",link:"/docs/migration/previous/v11.html"},{text:"v9",link:"/docs/migration/previous/v9.html"},{text:"v7",link:"/docs/migration/previous/v7.html"},{text:"v2",link:"/docs/migration/previous/v2.html"}],collapsible:!0}],collapsible:!0}],"/cookbook/":[{text:"Cookbook",link:"/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Tests",link:"/cookbook/basics/async-tests.html"},{text:"Custom Render",link:"/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}],"/12.x/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/12.x/docs/start/intro.html"},{text:"Quick Start",link:"/12.x/docs/start/quick-start.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/12.x/docs/api/render.html"},{text:"Screen object",link:"/12.x/docs/api/screen.html"},{text:"Queries",link:"/12.x/docs/api/queries.html"},{text:"Jest Matchers",link:"/12.x/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/12.x/docs/api/events/fire-event.html"},{text:"User Event",link:"/12.x/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/12.x/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/12.x/docs/api/misc/async.html"},{text:"Config",link:"/12.x/docs/api/misc/config.html"},{text:"Other",link:"/12.x/docs/api/misc/other.html"},{text:"Render Hook",link:"/12.x/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/12.x/docs/guides/how-to-query.html"},{text:"Troubleshooting",link:"/12.x/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/12.x/docs/guides/faq.html"},{text:"Community Resources",link:"/12.x/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/12.x/docs/advanced/testing-env.html"},{text:"Understanding Act",link:"/12.x/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0},{text:"Migration Guides",collapsed:!0,items:[{text:"v12 Migration",link:"/12.x/docs/migration/v12.html"},{text:"Jest Matchers",link:"/12.x/docs/migration/jest-matchers.html"},{text:"Previous versions",collapsed:!0,items:[{text:"v11",link:"/12.x/docs/migration/previous/v11.html"},{text:"v9",link:"/12.x/docs/migration/previous/v9.html"},{text:"v7",link:"/12.x/docs/migration/previous/v7.html"},{text:"v2",link:"/12.x/docs/migration/previous/v2.html"}],collapsible:!0}],collapsible:!0}],"/12.x/cookbook/":[{text:"Cookbook",link:"/12.x/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Tests",link:"/12.x/cookbook/basics/async-tests.html"},{text:"Custom Render",link:"/12.x/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/12.x/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/12.x/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}],"/13.x/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/13.x/docs/start/intro.html"},{text:"Quick Start",link:"/13.x/docs/start/quick-start.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/13.x/docs/api/render.html"},{text:"Screen object",link:"/13.x/docs/api/screen.html"},{text:"Queries",link:"/13.x/docs/api/queries.html"},{text:"Jest Matchers",link:"/13.x/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/13.x/docs/api/events/fire-event.html"},{text:"User Event",link:"/13.x/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/13.x/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/13.x/docs/api/misc/async.html"},{text:"Config",link:"/13.x/docs/api/misc/config.html"},{text:"Other",link:"/13.x/docs/api/misc/other.html"},{text:"Render Hook",link:"/13.x/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/13.x/docs/guides/how-to-query.html"},{text:"React 19",link:"/13.x/docs/guides/react-19.html"},{text:"Troubleshooting",link:"/13.x/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/13.x/docs/guides/faq.html"},{text:"Community Resources",link:"/13.x/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/13.x/docs/advanced/testing-env.html"},{text:"Third-party Integration",link:"/13.x/docs/advanced/third-party-integration.html"},{text:"Understanding Act",link:"/13.x/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0},{text:"Migration Guides",collapsed:!0,items:[{text:"v13 Migration",link:"/13.x/docs/migration/v13.html"},{text:"Jest Matchers",link:"/13.x/docs/migration/jest-matchers.html"},{text:"Previous versions",collapsed:!0,items:[{text:"v12",link:"/13.x/docs/migration/previous/v12.html"},{text:"v11",link:"/13.x/docs/migration/previous/v11.html"},{text:"v9",link:"/13.x/docs/migration/previous/v9.html"},{text:"v7",link:"/13.x/docs/migration/previous/v7.html"},{text:"v2",link:"/13.x/docs/migration/previous/v2.html"}],collapsible:!0}],collapsible:!0}],"/13.x/cookbook/":[{text:"Cookbook",link:"/13.x/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Tests",link:"/13.x/cookbook/basics/async-tests.html"},{text:"Custom Render",link:"/13.x/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/13.x/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/13.x/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}],"/14.x/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/14.x/docs/start/intro.html"},{text:"Quick Start",link:"/14.x/docs/start/quick-start.html"},{text:"v14 Migration",link:"/14.x/docs/start/migration-v14.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/14.x/docs/api/render.html"},{text:"Screen object",link:"/14.x/docs/api/screen.html"},{text:"Queries",link:"/14.x/docs/api/queries.html"},{text:"Jest Matchers",link:"/14.x/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/14.x/docs/api/events/fire-event.html"},{text:"User Event",link:"/14.x/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/14.x/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/14.x/docs/api/misc/async.html"},{text:"Config",link:"/14.x/docs/api/misc/config.html"},{text:"Other",link:"/14.x/docs/api/misc/other.html"},{text:"Render Hook",link:"/14.x/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/14.x/docs/guides/how-to-query.html"},{text:"Troubleshooting",link:"/14.x/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/14.x/docs/guides/faq.html"},{text:"Community Resources",link:"/14.x/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/14.x/docs/advanced/testing-env.html"},{text:"Third-party Integration",link:"/14.x/docs/advanced/third-party-integration.html"},{text:"Understanding Act",link:"/14.x/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0}],"/14.x/cookbook/":[{text:"Cookbook",link:"/14.x/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Events",link:"/14.x/cookbook/basics/async-events.html"},{text:"Custom Render",link:"/14.x/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/14.x/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/14.x/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}]}},lang:"en",locales:[],logo:"/img/owl.png",logoText:"React Native Testing Library",multiVersion:{default:"13.x",versions:["12.x","13.x","14.x"]},search:{versioned:!0},markdown:{showLineNumbers:!1,defaultWrapCode:!1,shiki:{}}}},8703(e,t,n){n.d(t,{Ab:()=>d.Ab,As:()=>d.As,Aw:()=>d.Aw,Bx:()=>d.Bx,C0:()=>d.C0,D7:()=>d.D7,Eg:()=>d.Eg,Ex:()=>d.Ex,Fw:()=>d.Fw,G5:()=>d.G5,GD:()=>d.GD,Ge:()=>d.Ge,HF:()=>d.HF,J6:()=>d.J6,K6:()=>d.K6,KS:()=>d.KS,Lp:()=>d.Lp,ML:()=>d.ML,Mk:()=>d.Mk,NG:()=>d.NG,N_:()=>d.N_,PE:()=>c,Pl:()=>d.Pl,Pq:()=>d.Pq,QB:()=>d.QB,R3:()=>d.R3,RG:()=>d.RG,RP:()=>d.RP,Rc:()=>d.Rc,UC:()=>d.UC,UQ:()=>d.UQ,X6:()=>d.X6,YW:()=>d.YW,ZZ:()=>d.ZZ,a9:()=>d.a9,bL:()=>d.bL,bS:()=>d.bS,bz:()=>d.bz,co:()=>d.co,dY:()=>d.dY,dd:()=>d.dd,fS:()=>d.fS,fx:()=>d.fx,g6:()=>d.g6,gz:()=>d.gz,hG:()=>d.hG,hI:()=>d.hI,hM:()=>d.hM,i6:()=>d.i6,kC:()=>d.kC,kv:()=>d.kv,lv:()=>d.lv,mI:()=>d.mI,n6:()=>d.n6,nD:()=>d.nD,nl:()=>d.nl,oz:()=>d.oz,so:()=>d.so,tU:()=>d.tU,uO:()=>d.uO,uo:()=>d.uo,v7:()=>d.v7,vN:()=>d.vN,vd:()=>d.vd,vj:()=>d.vj,vw:()=>d.vw,x5:()=>d.x5,yL:()=>d.yL,zE:()=>d.zE,zV:()=>d.zV,zq:()=>d.zq});var a=n(4848),i=n(3433),d=n(2230);let r=()=>(0,a.jsx)("div",{className:"pre-release-banner",children:(0,a.jsxs)("span",{children:["You are viewing documentation for ",(0,a.jsx)("strong",{children:"v14 alpha"}),". This version is under active development and APIs may change."]})}),o=e=>{let{version:t}=e;return(0,a.jsxs)("div",{className:"old-version-banner",children:[(0,a.jsxs)("span",{children:["You're viewing the documentation for ",(0,a.jsx)("strong",{children:t}),". Current latest version is"," ",(0,a.jsx)("strong",{children:"13.x"}),"."]}),(0,a.jsxs)(d.N_,{href:"/react-native-testing-library/docs/start/intro",className:"old-version-banner-link",children:["View latest version ",(0,a.jsx)("strong",{children:"here"}),"."]})]})},s=()=>{let{pathname:e}=(0,i.zy)();return e.includes("/14.x/")?(0,a.jsx)(r,{}):e.includes("/12.x/")?(0,a.jsx)(o,{version:"12.x"}):null},c=()=>(0,a.jsx)(d.PE,{beforeNav:(0,a.jsx)(s,{})})}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return o[e].call(n.exports,n,n.exports,c),n.exports}c.m=o,c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(n,a){if(1&a&&(n=this(n)),8&a||"object"==typeof n&&n&&(4&a&&n.__esModule||16&a&&"function"==typeof n.then))return n;var i=Object.create(null);c.r(i);var d={};e=e||[null,t({}),t([]),t(t)];for(var r=2&a&&n;("object"==typeof r||"function"==typeof r)&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach(e=>{d[e]=()=>n[e]});return d.default=()=>n,c.d(i,d),i},c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,n)=>(c.f[n](e,t),t),[])),c.u=e=>"static/js/async/"+e+"."+({1005:"e7db43d9",1035:"761be55a",1054:"14a581a5",1100:"93b932f9",1354:"ded53d31",1464:"08886ef8",1494:"801e4ca8",1523:"89361b3b",1784:"0d4b6859",1918:"99a4e067",197:"71975f7b",2:"469fe384",2e3:"7283e7df",2002:"a80a0885",2026:"d46767fc",212:"8d92b37d",2145:"6c15b372",2147:"768a917f",2232:"2c1947b6",2324:"2dd56bda",2346:"a4b12c1a",2604:"259634e5",2718:"350af98b",273:"4e1a6862",2839:"4a719e33",2903:"7fe61676",306:"17d9be9f",3117:"fa1c12e3",3170:"2058956a",3325:"35d98de0",3435:"15bc8d36",3583:"05ada047",3711:"a80068b0",3736:"872f8fba",3869:"84110079",39:"e1903b17",4037:"621c69b7",4055:"ee4f6221",41:"5dfb2a83",4120:"eaa95d56",4293:"3b36e55f",4566:"38deb673",4576:"4cc40d01",477:"4ecd548f",48:"0dd1cb87",4838:"bf397646",4844:"a7cb2d58",4939:"1a54ae87",5167:"e0be43c2",5184:"d8542b44",5299:"bf353d7f",5314:"97d682bd",5422:"0edbaf21",569:"5c038a97",5785:"fb30ef4d",5792:"2d73126a",5843:"12c53907",5860:"4127d81e",6036:"dd337bbf",6112:"c38cea96",6531:"70fbcd9f",6556:"1f4b4d68",6702:"93ab99f7",6924:"47e44a4f",6961:"45e8882c",7013:"0a1dc9a8",7193:"1900c2c7",7233:"984dfad8",725:"3ec91f38",759:"dc3f62a2",7783:"69d49e70",7817:"10b93e26",79:"0fed2856",7963:"da19b779",8136:"79e7c24c",8158:"e9bcf3c8",818:"592cdb4b",8247:"9397a58d",841:"6712e646",85:"9f5b0d8a",865:"564ea9fe",8653:"23a82b5b",8792:"4f0edaa3",8894:"975127be",9e3:"21b0a1dc",9056:"1b2c4f3c",935:"78911e2f",9400:"32d63d7d",9545:"84f1859d",9574:"39603c2b",9610:"20856484",9621:"038fc3f0",9643:"0fa01add",9652:"bcf343c5",968:"a715d79e",9705:"480c4c3c",9790:"a6f539b5"})[e]+".js",c.miniCssF=e=>""+e+".css",c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},c.l=function(e,t,a,i){if(n[e])return void n[e].push(t);if(void 0!==a)for(var d,r,o=document.getElementsByTagName("script"),s=0;s{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a=[],c.O=(e,t,n,i)=>{if(t){i=i||0;for(var d=a.length;d>0&&a[d-1][2]>i;d--)a[d]=a[d-1];a[d]=[t,n,i];return}for(var r=1/0,d=0;d=i)&&Object.keys(c.O).every(e=>c.O[e](t[s]))?t.splice(s--,1):(o=!1,in=i[e]=[t,a]);t.push(n[2]=a);var d=c.p+c.u(e),r=Error();c.l(d,function(t){if(c.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.src;r.message="Loading chunk "+e+" failed.\n("+a+": "+d+")",r.name="ChunkLoadError",r.type=a,r.request=d,n[1](r)}},"chunk-"+e,e)}},c.O.j=e=>0===i[e],d=(e,t)=>{var n,a,[d,r,o]=t,s=0;if(d.some(e=>0!==i[e])){for(n in r)c.o(r,n)&&(c.m[n]=r[n]);if(o)var h=o(c)}for(e&&e(t);sc(9361)),c.O(void 0,["4014","9783","9535","8712"],()=>c(1457)),c.O(void 0,["4014","9783","9535","8712"],()=>c(8703));var h=c.O(void 0,["4014","9783","9535","8712"],()=>c(7220));h=c.O(h)})(); \ No newline at end of file diff --git a/static/js/index.6c2873da.js b/static/js/index.6c2873da.js new file mode 100644 index 00000000..234ec373 --- /dev/null +++ b/static/js/index.6c2873da.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,n,a,i,d,r,o={4480(e,t,n){n.d(t,{Y:()=>a,z:()=>i});let a={pages:[{title:"Network Requests",routePath:"/12.x/cookbook/advanced/network-requests",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Phonebook Example",id:"phonebook-example",depth:2,charIndex:568},{text:"Start testing with a simple test",id:"start-testing-with-a-simple-test",depth:2,charIndex:4116},{text:"Testing error handling",id:"testing-error-handling",depth:2,charIndex:7189},{text:"Global guarding against unwanted API requests",id:"global-guarding-against-unwanted-api-requests",depth:2,charIndex:9007},{text:"Conclusion",id:"conclusion",depth:2,charIndex:10029},{text:"Further Reading and Alternatives",id:"further-reading-and-alternatives",depth:2,charIndex:10651}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/advanced/network-requests.md"},{title:"Async tests",routePath:"/12.x/cookbook/basics/async-tests",lang:"en",toc:[{text:"Summary",id:"summary",depth:2,charIndex:3},{text:"Example",id:"example",depth:3,charIndex:911},{text:"Async utilities",id:"async-utilities",depth:2,charIndex:2056},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"Example",id:"example-1",depth:4,charIndex:2876},{text:"`waitFor` function",id:"waitfor-function",depth:3,charIndex:-1},{text:"Example",id:"example-2",depth:4,charIndex:3648},{text:"`waitForElementToBeRemoved` function",id:"waitforelementtoberemoved-function",depth:3,charIndex:-1},{text:"Example",id:"example-3",depth:4,charIndex:4467},{text:"Fake Timers",id:"fake-timers",depth:2,charIndex:4545}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/basics/async-tests.md"},{title:"Custom `render` function",routePath:"/12.x/cookbook/basics/custom-render",lang:"en",toc:[{text:"Summary",id:"summary",depth:3,charIndex:25},{text:"Example",id:"example",depth:3,charIndex:318},{text:"More info",id:"more-info",depth:3,charIndex:940},{text:"Additional params",id:"additional-params",depth:4,charIndex:952},{text:"Multiple functions",id:"multiple-functions",depth:4,charIndex:1262},{text:"Async function",id:"async-function",depth:4,charIndex:1553}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/basics/custom-render.md"},{title:"Introduction",routePath:"/12.x/cookbook/",lang:"en",toc:[{text:"What's Inside the Cookbook?",id:"whats-inside-the-cookbook",depth:2,charIndex:434},{text:"What's Next?",id:"whats-next",depth:2,charIndex:1045}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/index.md"},{title:"Jotai",routePath:"/12.x/cookbook/state-management/jotai",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Task List Example",id:"task-list-example",depth:2,charIndex:337},{text:"Starting with a Simple Test",id:"starting-with-a-simple-test",depth:2,charIndex:1145},{text:"Custom Render Function to populate Jotai Atoms with Initial Values",id:"custom-render-function-to-populate-jotai-atoms-with-initial-values",depth:2,charIndex:1608},{text:"Testing the `TaskList` Component with initial tasks",id:"testing-the-tasklist-component-with-initial-tasks",depth:2,charIndex:-1},{text:"Modifying atom outside of React components",id:"modifying-atom-outside-of-react-components",depth:2,charIndex:4391},{text:"Testing atom outside of React components",id:"testing-atom-outside-of-react-components",depth:2,charIndex:4992},{text:"Conclusion",id:"conclusion",depth:2,charIndex:5673}],frontmatter:{},version:"12.x",_relativePath:"12.x/cookbook/state-management/jotai.md"},{title:"Testing environment",routePath:"/12.x/docs/advanced/testing-env",lang:"en",toc:[{text:"React renderers",id:"react-renderers",depth:2,charIndex:659},{text:"React Test Renderer",id:"react-test-renderer",depth:2,charIndex:1382},{text:"Element tree",id:"element-tree",depth:2,charIndex:2783},{text:"Host and composite components",id:"host-and-composite-components",depth:2,charIndex:3593},{text:"Differentiating between host and composite elements",id:"differentiating-between-host-and-composite-elements",depth:3,charIndex:5563},{text:"Tree nodes",id:"tree-nodes",depth:2,charIndex:6086},{text:"Asserting props",id:"asserting-props",depth:3,charIndex:6402},{text:"Tree navigation",id:"tree-navigation",depth:2,charIndex:7245},{text:"Queries",id:"queries",depth:2,charIndex:7978}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/advanced/testing-env.mdx"},{title:"Understanding `act` function",routePath:"/12.x/docs/advanced/understanding-act",lang:"en",toc:[{text:"`act` warnings",id:"act-warnings",depth:2,charIndex:-1},{text:"Synchronous `act`",id:"synchronous-act",depth:2,charIndex:-1},{text:"Responsibility",id:"responsibility",depth:3,charIndex:1020},{text:"When to use act",id:"when-to-use-act",depth:3,charIndex:2811},{text:"Implementation",id:"implementation",depth:3,charIndex:3903},{text:"Asynchronous `act`",id:"asynchronous-act",depth:2,charIndex:-1},{text:"Asynchronous code",id:"asynchronous-code",depth:3,charIndex:4894},{text:"Solution with fake timers",id:"solution-with-fake-timers",depth:3,charIndex:6206},{text:"Solution with real timers",id:"solution-with-real-timers",depth:3,charIndex:6721},{text:"Async act warning",id:"async-act-warning",depth:3,charIndex:8147},{text:"References",id:"references",depth:2,charIndex:8785}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/advanced/understanding-act.mdx"},{title:"API Overview",routePath:"/12.x/docs/api",lang:"en",toc:[],frontmatter:{uri:"/api"},version:"12.x",_relativePath:"12.x/docs/api.md"},{title:"Fire Event API",routePath:"/12.x/docs/api/events/fire-event",lang:"en",toc:[{text:"`fireEvent.press`",id:"fireeventpress",depth:3,charIndex:-1},{text:"`fireEvent.changeText`",id:"fireeventchangetext",depth:3,charIndex:-1},{text:"`fireEvent.scroll`",id:"fireeventscroll",depth:3,charIndex:-1},{text:"On a `ScrollView`",id:"on-a-scrollview",depth:4,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/events/fire-event.mdx"},{title:"User Event interactions",routePath:"/12.x/docs/api/events/user-event",lang:"en",toc:[{text:"Comparison with Fire Event API",id:"comparison-with-fire-event-api",depth:2,charIndex:81},{text:"`setup()`",id:"setup",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`press()`",id:"press",depth:2,charIndex:-1},{text:"`longPress()`",id:"longpress",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"`type()`",id:"type",depth:2,charIndex:-1},{text:"Options",id:"options-2",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events",depth:3,charIndex:-1},{text:"`clear()`",id:"clear",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-1",depth:3,charIndex:-1},{text:"`paste()`",id:"paste",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-2",depth:3,charIndex:-1},{text:"`scrollTo()`",id:"scroll-to",depth:2,charIndex:-1},{text:"Options",id:"options-3",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-3",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/events/user-event.mdx"},{title:"Jest matchers",routePath:"/12.x/docs/api/jest-matchers",lang:"en",toc:[{text:"Setup",id:"setup",depth:2,charIndex:250},{text:"Migration from legacy Jest Native matchers.",id:"migration-from-legacy-jest-native-matchers",depth:2,charIndex:721},{text:"Checking element existence",id:"checking-element-existence",depth:2,charIndex:885},{text:"`toBeOnTheScreen()`",id:"tobeonthescreen",depth:3,charIndex:-1},{text:"Element Content",id:"element-content",depth:2,charIndex:1174},{text:"`toHaveTextContent()`",id:"tohavetextcontent",depth:3,charIndex:-1},{text:"`toContainElement()`",id:"tocontainelement",depth:3,charIndex:-1},{text:"`toBeEmptyElement()`",id:"tobeemptyelement",depth:3,charIndex:-1},{text:"Checking element state",id:"checking-element-state",depth:2,charIndex:1916},{text:"`toHaveDisplayValue()`",id:"tohavedisplayvalue",depth:3,charIndex:-1},{text:"`toHaveAccessibilityValue()`",id:"tohaveaccessibilityvalue",depth:3,charIndex:-1},{text:"`toBeEnabled()` / `toBeDisabled`",id:"tobeenabled--tobedisabled",depth:3,charIndex:-1},{text:"`toBeSelected()`",id:"tobeselected",depth:3,charIndex:-1},{text:"`toBeChecked()` / `toBePartiallyChecked()`",id:"tobechecked--tobepartiallychecked",depth:3,charIndex:-1},{text:"`toBeExpanded()` / `toBeCollapsed()`",id:"tobeexpanded--tobecollapsed",depth:3,charIndex:-1},{text:"`toBeBusy()`",id:"tobebusy",depth:3,charIndex:-1},{text:"Checking element style",id:"checking-element-style",depth:2,charIndex:5076},{text:"`toBeVisible()`",id:"tobevisible",depth:3,charIndex:-1},{text:"`toHaveStyle()`",id:"tohavestyle",depth:3,charIndex:-1},{text:"Other matchers",id:"other-matchers",depth:2,charIndex:5554},{text:"`toHaveAccessibleName()`",id:"tohaveaccessiblename",depth:3,charIndex:-1},{text:"`toHaveProp()`",id:"tohaveprop",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/jest-matchers.mdx"},{title:"Accessibility",routePath:"/12.x/docs/api/misc/accessibility",lang:"en",toc:[{text:"`isHiddenFromAccessibility`",id:"ishiddenfromaccessibility",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/accessibility.mdx"},{title:"Async utilities",routePath:"/12.x/docs/api/misc/async",lang:"en",toc:[{text:"`findBy*` queries",id:"findby-queries",depth:2,charIndex:-1},{text:"`waitFor`",id:"waitfor",depth:2,charIndex:-1},{text:"Using a React Native version < 0.71 with Jest fake timers",id:"using-a-react-native-version--071-with-jest-fake-timers",depth:3,charIndex:2474},{text:"`waitForElementToBeRemoved`",id:"waitforelementtoberemoved",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/async.mdx"},{title:"Configuration",routePath:"/12.x/docs/api/misc/config",lang:"en",toc:[{text:"`configure`",id:"configure",depth:2,charIndex:-1},{text:"`asyncUtilTimeout` option",id:"asyncutiltimeout-option",depth:3,charIndex:-1},{text:"`defaultIncludeHiddenElements` option",id:"defaultincludehiddenelements-option",depth:3,charIndex:-1},{text:"`defaultDebugOptions` option",id:"defaultdebugoptions-option",depth:3,charIndex:-1},{text:"`concurrentRoot` option",id:"concurrentroot-option",depth:3,charIndex:-1},{text:"`resetToDefaults()`",id:"resettodefaults",depth:2,charIndex:-1},{text:"Environment variables",id:"environment-variables",depth:2,charIndex:1170},{text:"`RNTL_SKIP_AUTO_CLEANUP`",id:"rntl_skip_auto_cleanup",depth:3,charIndex:-1},{text:"`RNTL_SKIP_AUTO_DETECT_FAKE_TIMERS`",id:"rntl_skip_auto_detect_fake_timers",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/config.mdx"},{title:"Other helpers",routePath:"/12.x/docs/api/misc/other",lang:"en",toc:[{text:"`within`, `getQueriesForElement`",id:"within-getqueriesforelement",depth:2,charIndex:-1},{text:"`act`",id:"act",depth:2,charIndex:-1},{text:"`cleanup`",id:"cleanup",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/other.mdx"},{title:"`renderHook` function",routePath:"/12.x/docs/api/misc/render-hook",lang:"en",toc:[{text:"`options`",id:"options",depth:2,charIndex:-1},{text:"`initialProps`",id:"initialprops",depth:3,charIndex:-1},{text:"`wrapper`",id:"wrapper",depth:3,charIndex:-1},{text:"`RenderHookResult`",id:"renderhookresult",depth:2,charIndex:-1},{text:"`result`",id:"result",depth:3,charIndex:-1},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"Examples",id:"examples",depth:2,charIndex:2692},{text:"With `initialProps`",id:"with-initialprops",depth:3,charIndex:-1},{text:"With `wrapper`",id:"with-wrapper",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/misc/render-hook.mdx"},{title:"Queries",routePath:"/12.x/docs/api/queries",lang:"en",toc:[{text:"Accessing queries",id:"accessing-queries",depth:2,charIndex:226},{text:"Using `screen` object",id:"using-screen-object",depth:3,charIndex:-1},{text:"Using `render` result",id:"using-render-result",depth:3,charIndex:-1},{text:"Query parts",id:"query-parts",depth:2,charIndex:1114},{text:"Query variant",id:"query-variant",depth:2,charIndex:1373},{text:"`getBy*` queries",id:"getby-queries",depth:3,charIndex:-1},{text:"`getAllBy*` queries",id:"getallby-queries",depth:3,charIndex:-1},{text:"`queryBy*` queries",id:"queryby-queries",depth:3,charIndex:-1},{text:"`queryAllBy*` queries",id:"queryallby-queries",depth:3,charIndex:-1},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"`findAllBy*` queries",id:"findallby-queries",depth:3,charIndex:-1},{text:"Query predicates",id:"query-predicates",depth:2,charIndex:4293},{text:"`*ByRole`",id:"byrole",depth:3,charIndex:-1},{text:"Options",id:"options",depth:4,charIndex:-1},{text:"`*ByLabelText`",id:"bylabeltext",depth:3,charIndex:-1},{text:"`*ByPlaceholderText`",id:"byplaceholdertext",depth:3,charIndex:-1},{text:"`*ByDisplayValue`",id:"bydisplayvalue",depth:3,charIndex:-1},{text:"`*ByText`",id:"bytext",depth:3,charIndex:-1},{text:"`*ByHintText`",id:"byhinttext",depth:3,charIndex:-1},{text:"`*ByTestId`",id:"bytestid",depth:3,charIndex:-1},{text:"Common options",id:"common-options",depth:3,charIndex:12774},{text:"`includeHiddenElements` option",id:"includehiddenelements-option",depth:4,charIndex:-1},{text:"TextMatch type",id:"textmatch-type",depth:2,charIndex:13927},{text:"Examples",id:"examples",depth:3,charIndex:14096},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"Precision",id:"precision",depth:4,charIndex:14916},{text:"Normalization",id:"normalization",depth:4,charIndex:15788},{text:"Legacy unit testing helpers",id:"legacy-unit-testing-helpers",depth:2,charIndex:17281},{text:"`UNSAFE_ByType`",id:"unsafe_bytype",depth:3,charIndex:-1},{text:"`UNSAFE_ByProps`",id:"unsafe_byprops",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/queries.mdx"},{title:"`render` function",routePath:"/12.x/docs/api/render",lang:"en",toc:[{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`wrapper` option",id:"wrapper-option",depth:4,charIndex:-1},{text:"`concurrentRoot` option",id:"concurrentroot-option",depth:4,charIndex:-1},{text:"`createNodeMock` option",id:"createnodemock-option",depth:4,charIndex:-1},{text:"`unstable_validateStringsRenderedWithinText` option",id:"unstable_validatestringsrenderedwithintext-option",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/render.mdx"},{title:"`screen` object",routePath:"/12.x/docs/api/screen",lang:"en",toc:[{text:"`...queries`",id:"queries",depth:3,charIndex:-1},{text:"Example",id:"example",depth:4,charIndex:791},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"`debug`",id:"debug",depth:3,charIndex:-1},{text:"`message` option",id:"message-option",depth:4,charIndex:-1},{text:"`mapProps` option",id:"mapprops-option",depth:4,charIndex:-1},{text:"`toJSON`",id:"tojson",depth:3,charIndex:-1},{text:"`root`",id:"root",depth:3,charIndex:-1},{text:"`UNSAFE_root`",id:"unsafe_root",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/api/screen.mdx"},{title:"Community resources",routePath:"/12.x/docs/guides/community-resources",lang:"en",toc:[{text:"Recommended content",id:"recommended-content",depth:2,charIndex:3},{text:"Older, potentially outdated content",id:"older-potentially-outdated-content",depth:2,charIndex:601}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/community-resources.mdx"},{title:"FAQ",routePath:"/12.x/docs/guides/faq",lang:"en",toc:[{text:"Can I test the native features of React Native apps?",id:"can-i-test-the-native-features-of-react-native-apps",depth:2,charIndex:3},{text:"Should I use/migrate to `screen` queries?",id:"should-i-usemigrate-to-screen-queries",depth:2,charIndex:-1},{text:"Should I use/migrate to User Event interactions?",id:"should-i-usemigrate-to-user-event-interactions",depth:2,charIndex:1595}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/faq.mdx"},{title:"How should I query?",routePath:"/12.x/docs/guides/how-to-query",lang:"en",toc:[{text:"Query parts",id:"query-parts",depth:2,charIndex:273},{text:"Query variant",id:"query-variant",depth:2,charIndex:534},{text:"Idiomatic query variants",id:"idiomatic-query-variants",depth:3,charIndex:1399},{text:"Query predicate",id:"query-predicate",depth:2,charIndex:2352},{text:"Idiomatic query predicates",id:"idiomatic-query-predicates",depth:3,charIndex:3126},{text:"1. By Role query",id:"1-by-role-query",depth:3,charIndex:-1},{text:"Name option",id:"name-option",depth:4,charIndex:-1},{text:"2. Text input queries",id:"2-text-input-queries",depth:3,charIndex:-1},{text:"3. Other accessible queries",id:"3-other-accessible-queries",depth:3,charIndex:-1},{text:"4. Test ID query",id:"4-test-id-query",depth:3,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/how-to-query.mdx"},{title:"Troubleshooting",routePath:"/12.x/docs/guides/troubleshooting",lang:"en",toc:[{text:"Matching React Native, React & React Test Renderer versions",id:"matching-react-native-react--react-test-renderer-versions",depth:2,charIndex:116},{text:"Example repository",id:"example-repository",depth:2,charIndex:1005},{text:"Undefined component error",id:"undefined-component-error",depth:2,charIndex:1254},{text:"Mocking React Native",id:"mocking-react-native",depth:3,charIndex:2357},{text:"Act warnings",id:"act-warnings",depth:2,charIndex:2688}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/guides/troubleshooting.mdx"},{title:"Migration to built-in Jest matchers",routePath:"/12.x/docs/migration/jest-matchers",lang:"en",toc:[{text:"General notes",id:"general-notes",depth:2,charIndex:119},{text:"Usage",id:"usage",depth:2,charIndex:533},{text:"Gradual migration",id:"gradual-migration",depth:3,charIndex:728},{text:"Migration details",id:"migration-details",depth:2,charIndex:1226},{text:"Matchers not requiring changes",id:"matchers-not-requiring-changes",depth:3,charIndex:1247},{text:"Replaced matchers",id:"replaced-matchers",depth:3,charIndex:1554},{text:"Added matchers",id:"added-matchers",depth:3,charIndex:1947},{text:"Noteworthy details",id:"noteworthy-details",depth:3,charIndex:2009}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/jest-matchers.mdx"},{title:"Migration to 11.x",routePath:"/12.x/docs/migration/previous/v11",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:153},{text:"Update to Jest 28 if you use fake timers",id:"update-to-jest-28-if-you-use-fake-timers",depth:3,charIndex:173},{text:"Refactor legacy `waitForOptions` position",id:"refactor-legacy-waitforoptions-position",depth:3,charIndex:-1},{text:'Triggering non-touch events on targets with `pointerEvents="box-none"` prop',id:"triggering-non-touch-events-on-targets-with-pointereventsbox-none-prop",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:1699}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v11.mdx"},{title:"Migration to 2.x",routePath:"/12.x/docs/migration/previous/v2",lang:"en",toc:[{text:"Dropping Node 8",id:"dropping-node-8",depth:2,charIndex:100},{text:"Auto Cleanup",id:"auto-cleanup",depth:2,charIndex:325},{text:"WaitFor API changes",id:"waitfor-api-changes",depth:2,charIndex:1381},{text:"Removed global `debug` function",id:"removed-global-debug-function",depth:2,charIndex:-1},{text:"Removed global `shallow` function",id:"removed-global-shallow-function",depth:2,charIndex:-1},{text:"Removed functions",id:"removed-functions",depth:2,charIndex:2784},{text:"Some `ByTestId` queries behavior changes",id:"some-bytestid-queries-behavior-changes",depth:2,charIndex:-1},{text:"Deprecated `flushMicrotasksQueue`",id:"deprecated-flushmicrotasksqueue",depth:2,charIndex:-1}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v2.mdx"},{title:"Migration to 7.x",routePath:"/12.x/docs/migration/previous/v7",lang:"en",toc:[{text:"Guide for `react-native-testing-library` users",id:"guide-for-react-native-testing-library-users",depth:2,charIndex:-1},{text:"Renaming the library",id:"renaming-the-library",depth:3,charIndex:452},{text:"New aliases",id:"new-aliases",depth:3,charIndex:1352},{text:"Renaming `ByPlaceholder` queries",id:"renaming-byplaceholder-queries",depth:3,charIndex:-1},{text:"`fireEvent` support for disabled components",id:"fireevent-support-for-disabled-components",depth:3,charIndex:-1},{text:"Guide for `@testing-library/react-native` users",id:"guide-for-testing-libraryreact-native-users",depth:2,charIndex:-1},{text:'Renaming "wait" helpers',id:"renaming-wait-helpers",depth:3,charIndex:2874},{text:"Changes to `ByTestId` queries",id:"changes-to-bytestid-queries",depth:3,charIndex:-1},{text:"No `ByTitle` queries",id:"no-bytitle-queries",depth:3,charIndex:-1},{text:"No custom Jest configuration",id:"no-custom-jest-configuration",depth:3,charIndex:3628},{text:"Cleanup is included by default",id:"cleanup-is-included-by-default",depth:3,charIndex:4014},{text:"No NativeTestInstance abstraction",id:"no-nativetestinstance-abstraction",depth:3,charIndex:4510},{text:"No `container` nor `baseElement` returned from `render`",id:"no-container-nor-baseelement-returned-from-render",depth:3,charIndex:-1},{text:"Firing events changes",id:"firing-events-changes",depth:3,charIndex:5020}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v7.mdx"},{title:"Migration to 9.x",routePath:"/12.x/docs/migration/previous/v9",lang:"en",toc:[{text:"Support for text match options a.k.a string precision API",id:"support-for-text-match-options-aka-string-precision-api",depth:2,charIndex:284},{text:"Reverted matching text across several nodes",id:"reverted-matching-text-across-several-nodes",depth:2,charIndex:1282},{text:"Future plans",id:"future-plans",depth:2,charIndex:2046}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/previous/v9.mdx"},{title:"Migration to 12.x",routePath:"/12.x/docs/migration/v12",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:484},{text:"1. All queries exclude elements hidden from accessibility by default",id:"1-all-queries-exclude-elements-hidden-from-accessibility-by-default",depth:3,charIndex:504},{text:"2. `*ByRole` queries now return only accessibility elements",id:"2-byrole-queries-now-return-only-accessibility-elements",depth:3,charIndex:-1},{text:"Examples",id:"examples",depth:4,charIndex:1510},{text:"3. `*ByText`, `*ByDisplayValue`, `*ByPlaceholderText` queries now return host elements",id:"3-bytext-bydisplayvalue-byplaceholdertext-queries-now-return-host-elements",depth:3,charIndex:-1},{text:"4. `container` API has been renamed to `UNSAFE_root`.",id:"4-container-api-has-been-renamed-to-unsafe_root",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:3465}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/migration/v12.mdx"},{title:"Introduction",routePath:"/12.x/docs/start/intro",lang:"en",toc:[{text:"The problem",id:"the-problem",depth:2,charIndex:3},{text:"This solution",id:"this-solution",depth:2,charIndex:479},{text:"Example",id:"example",depth:2,charIndex:988}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/start/intro.md"},{title:"Quick Start",routePath:"/12.x/docs/start/quick-start",lang:"en",toc:[{text:"Installation",id:"installation",depth:2,charIndex:3},{text:"Jest matchers",id:"jest-matchers",depth:3,charIndex:223},{text:"ESLint plugin",id:"eslint-plugin",depth:3,charIndex:433}],frontmatter:{},version:"12.x",_relativePath:"12.x/docs/start/quick-start.mdx"},{title:"",routePath:"/12.x/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{image:{src:{light:"/img/logo-light.svg",dark:"/img/logo-dark.svg"}},name:"JavaScript Integration testing for React Native",tagline:"The more your tests resemble the way your software is used, the more confidence they can give you.
                    — Kent C. Dodds",actions:[{theme:"brand",text:"Quick Start",link:"/12.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/12.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:''},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:''},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:''}]},version:"12.x",_relativePath:"12.x/index.md"},{title:"Network Requests",routePath:"/cookbook/advanced/network-requests",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Phonebook Example",id:"phonebook-example",depth:2,charIndex:568},{text:"Start testing with a simple test",id:"start-testing-with-a-simple-test",depth:2,charIndex:4116},{text:"Testing error handling",id:"testing-error-handling",depth:2,charIndex:7189},{text:"Global guarding against unwanted API requests",id:"global-guarding-against-unwanted-api-requests",depth:2,charIndex:9007},{text:"Conclusion",id:"conclusion",depth:2,charIndex:10029},{text:"Further Reading and Alternatives",id:"further-reading-and-alternatives",depth:2,charIndex:10651}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/advanced/network-requests.md"},{title:"Async tests",routePath:"/cookbook/basics/async-tests",lang:"en",toc:[{text:"Summary",id:"summary",depth:2,charIndex:3},{text:"Example",id:"example",depth:3,charIndex:911},{text:"Async utilities",id:"async-utilities",depth:2,charIndex:2056},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"Example",id:"example-1",depth:4,charIndex:2876},{text:"`waitFor` function",id:"waitfor-function",depth:3,charIndex:-1},{text:"Example",id:"example-2",depth:4,charIndex:3648},{text:"`waitForElementToBeRemoved` function",id:"waitforelementtoberemoved-function",depth:3,charIndex:-1},{text:"Example",id:"example-3",depth:4,charIndex:4467},{text:"Fake Timers",id:"fake-timers",depth:2,charIndex:4545}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/basics/async-tests.md"},{title:"Custom `render` function",routePath:"/cookbook/basics/custom-render",lang:"en",toc:[{text:"Summary",id:"summary",depth:3,charIndex:25},{text:"Example",id:"example",depth:3,charIndex:318},{text:"More info",id:"more-info",depth:3,charIndex:940},{text:"Additional params",id:"additional-params",depth:4,charIndex:952},{text:"Multiple functions",id:"multiple-functions",depth:4,charIndex:1262},{text:"Async function",id:"async-function",depth:4,charIndex:1553}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/basics/custom-render.md"},{title:"Introduction",routePath:"/cookbook/",lang:"en",toc:[{text:"What's Inside the Cookbook?",id:"whats-inside-the-cookbook",depth:2,charIndex:434},{text:"What's Next?",id:"whats-next",depth:2,charIndex:1045}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/index.md"},{title:"Jotai",routePath:"/cookbook/state-management/jotai",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Task List Example",id:"task-list-example",depth:2,charIndex:337},{text:"Starting with a Simple Test",id:"starting-with-a-simple-test",depth:2,charIndex:1145},{text:"Custom Render Function to populate Jotai Atoms with Initial Values",id:"custom-render-function-to-populate-jotai-atoms-with-initial-values",depth:2,charIndex:1608},{text:"Testing the `TaskList` Component with initial tasks",id:"testing-the-tasklist-component-with-initial-tasks",depth:2,charIndex:-1},{text:"Modifying atom outside of React components",id:"modifying-atom-outside-of-react-components",depth:2,charIndex:4391},{text:"Testing atom outside of React components",id:"testing-atom-outside-of-react-components",depth:2,charIndex:4992},{text:"Conclusion",id:"conclusion",depth:2,charIndex:5673}],frontmatter:{},version:"13.x",_relativePath:"13.x/cookbook/state-management/jotai.md"},{title:"Testing environment",routePath:"/docs/advanced/testing-env",lang:"en",toc:[{text:"React renderers",id:"react-renderers",depth:2,charIndex:659},{text:"React Test Renderer",id:"react-test-renderer",depth:2,charIndex:1382},{text:"Element tree",id:"element-tree",depth:2,charIndex:2783},{text:"Host and composite components",id:"host-and-composite-components",depth:2,charIndex:3593},{text:"Differentiating between host and composite elements",id:"differentiating-between-host-and-composite-elements",depth:3,charIndex:5563},{text:"Tree nodes",id:"tree-nodes",depth:2,charIndex:6086},{text:"Asserting props",id:"asserting-props",depth:3,charIndex:6402},{text:"Tree navigation",id:"tree-navigation",depth:2,charIndex:7245},{text:"Queries",id:"queries",depth:2,charIndex:7978}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/advanced/testing-env.mdx"},{title:"Third-Party Library Integration",routePath:"/docs/advanced/third-party-integration",lang:"en",toc:[{text:"Handling Events in Third-Party Libraries",id:"handling-events-in-third-party-libraries",depth:2,charIndex:234},{text:"Example: React Native Gesture Handler",id:"example-react-native-gesture-handler",depth:3,charIndex:1026}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/advanced/third-party-integration.mdx"},{title:"Understanding `act` function",routePath:"/docs/advanced/understanding-act",lang:"en",toc:[{text:"`act` warnings",id:"act-warnings",depth:2,charIndex:-1},{text:"Synchronous `act`",id:"synchronous-act",depth:2,charIndex:-1},{text:"Responsibility",id:"responsibility",depth:3,charIndex:1020},{text:"When to use act",id:"when-to-use-act",depth:3,charIndex:2811},{text:"Implementation",id:"implementation",depth:3,charIndex:3903},{text:"Asynchronous `act`",id:"asynchronous-act",depth:2,charIndex:-1},{text:"Asynchronous code",id:"asynchronous-code",depth:3,charIndex:4894},{text:"Solution with fake timers",id:"solution-with-fake-timers",depth:3,charIndex:6206},{text:"Solution with real timers",id:"solution-with-real-timers",depth:3,charIndex:6721},{text:"Async act warning",id:"async-act-warning",depth:3,charIndex:8170},{text:"References",id:"references",depth:2,charIndex:8808}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/advanced/understanding-act.mdx"},{title:"API Overview",routePath:"/docs/api",lang:"en",toc:[],frontmatter:{uri:"/api"},version:"13.x",_relativePath:"13.x/docs/api.md"},{title:"Fire Event API",routePath:"/docs/api/events/fire-event",lang:"en",toc:[{text:"`fireEvent`",id:"fireevent",depth:2,charIndex:-1},{text:"`fireEvent.press`",id:"fireeventpress",depth:3,charIndex:-1},{text:"`fireEvent.changeText`",id:"fireeventchangetext",depth:3,charIndex:-1},{text:"`fireEvent.scroll`",id:"fireeventscroll",depth:3,charIndex:-1},{text:"On a `ScrollView`",id:"on-a-scrollview",depth:4,charIndex:-1},{text:"`fireEventAsync`",id:"fireeventasync",depth:2,charIndex:-1},{text:"`fireEventAsync.press`",id:"fireeventasyncpress",depth:3,charIndex:-1},{text:"`fireEventAsync.changeText`",id:"fireeventasyncchangetext",depth:3,charIndex:-1},{text:"`fireEventAsync.scroll`",id:"fireeventasyncscroll",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/events/fire-event.mdx"},{title:"User Event interactions",routePath:"/docs/api/events/user-event",lang:"en",toc:[{text:"Comparison with Fire Event API",id:"comparison-with-fire-event-api",depth:2,charIndex:3},{text:"`setup()`",id:"setup",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`press()`",id:"press",depth:2,charIndex:-1},{text:"`longPress()`",id:"longpress",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"`type()`",id:"type",depth:2,charIndex:-1},{text:"Options",id:"options-2",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events",depth:3,charIndex:-1},{text:"`clear()`",id:"clear",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-1",depth:3,charIndex:-1},{text:"`paste()`",id:"paste",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-2",depth:3,charIndex:-1},{text:"`scrollTo()`",id:"scroll-to",depth:2,charIndex:-1},{text:"Options",id:"options-3",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-3",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/events/user-event.mdx"},{title:"Jest matchers",routePath:"/docs/api/jest-matchers",lang:"en",toc:[{text:"Setup",id:"setup",depth:2,charIndex:173},{text:"Migration from legacy Jest Native matchers.",id:"migration-from-legacy-jest-native-matchers",depth:2,charIndex:355},{text:"Checking element existence",id:"checking-element-existence",depth:2,charIndex:519},{text:"`toBeOnTheScreen()`",id:"tobeonthescreen",depth:3,charIndex:-1},{text:"Element Content",id:"element-content",depth:2,charIndex:808},{text:"`toHaveTextContent()`",id:"tohavetextcontent",depth:3,charIndex:-1},{text:"`toContainElement()`",id:"tocontainelement",depth:3,charIndex:-1},{text:"`toBeEmptyElement()`",id:"tobeemptyelement",depth:3,charIndex:-1},{text:"Checking element state",id:"checking-element-state",depth:2,charIndex:1550},{text:"`toHaveDisplayValue()`",id:"tohavedisplayvalue",depth:3,charIndex:-1},{text:"`toHaveAccessibilityValue()`",id:"tohaveaccessibilityvalue",depth:3,charIndex:-1},{text:"`toBeEnabled()` / `toBeDisabled`",id:"tobeenabled--tobedisabled",depth:3,charIndex:-1},{text:"`toBeSelected()`",id:"tobeselected",depth:3,charIndex:-1},{text:"`toBeChecked()` / `toBePartiallyChecked()`",id:"tobechecked--tobepartiallychecked",depth:3,charIndex:-1},{text:"`toBeExpanded()` / `toBeCollapsed()`",id:"tobeexpanded--tobecollapsed",depth:3,charIndex:-1},{text:"`toBeBusy()`",id:"tobebusy",depth:3,charIndex:-1},{text:"Checking element style",id:"checking-element-style",depth:2,charIndex:4710},{text:"`toBeVisible()`",id:"tobevisible",depth:3,charIndex:-1},{text:"`toHaveStyle()`",id:"tohavestyle",depth:3,charIndex:-1},{text:"Other matchers",id:"other-matchers",depth:2,charIndex:5188},{text:"`toHaveAccessibleName()`",id:"tohaveaccessiblename",depth:3,charIndex:-1},{text:"`toHaveProp()`",id:"tohaveprop",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/jest-matchers.mdx"},{title:"Accessibility",routePath:"/docs/api/misc/accessibility",lang:"en",toc:[{text:"`isHiddenFromAccessibility`",id:"ishiddenfromaccessibility",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/accessibility.mdx"},{title:"Async utilities",routePath:"/docs/api/misc/async",lang:"en",toc:[{text:"`findBy*` queries",id:"findby-queries",depth:2,charIndex:-1},{text:"`waitFor`",id:"waitfor",depth:2,charIndex:-1},{text:"`waitForElementToBeRemoved`",id:"waitforelementtoberemoved",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/async.mdx"},{title:"Configuration",routePath:"/docs/api/misc/config",lang:"en",toc:[{text:"`configure`",id:"configure",depth:2,charIndex:-1},{text:"`asyncUtilTimeout` option",id:"asyncutiltimeout-option",depth:3,charIndex:-1},{text:"`defaultIncludeHiddenElements` option",id:"defaultincludehiddenelements-option",depth:3,charIndex:-1},{text:"`defaultDebugOptions` option",id:"defaultdebugoptions-option",depth:3,charIndex:-1},{text:"`concurrentRoot` option",id:"concurrentroot-option",depth:3,charIndex:-1},{text:"`resetToDefaults()`",id:"resettodefaults",depth:2,charIndex:-1},{text:"Environment variables",id:"environment-variables",depth:2,charIndex:1171},{text:"`RNTL_SKIP_AUTO_CLEANUP`",id:"rntl_skip_auto_cleanup",depth:3,charIndex:-1},{text:"`RNTL_SKIP_AUTO_DETECT_FAKE_TIMERS`",id:"rntl_skip_auto_detect_fake_timers",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/config.mdx"},{title:"Other helpers",routePath:"/docs/api/misc/other",lang:"en",toc:[{text:"`within`, `getQueriesForElement`",id:"within-getqueriesforelement",depth:2,charIndex:-1},{text:"`act`",id:"act",depth:2,charIndex:-1},{text:"`cleanup`",id:"cleanup",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/other.mdx"},{title:"`renderHook` function",routePath:"/docs/api/misc/render-hook",lang:"en",toc:[{text:"`renderHook`",id:"renderhook",depth:2,charIndex:-1},{text:"`options`",id:"options",depth:3,charIndex:-1},{text:"`initialProps`",id:"initialprops",depth:4,charIndex:-1},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"`concurrentRoot`",id:"concurrentroot",depth:3,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2008},{text:"`result`",id:"result-1",depth:4,charIndex:-1},{text:"`rerender`",id:"rerender",depth:4,charIndex:-1},{text:"`unmount`",id:"unmount",depth:4,charIndex:-1},{text:"Examples",id:"examples",depth:3,charIndex:2860},{text:"With `initialProps`",id:"with-initialprops",depth:4,charIndex:-1},{text:"With `wrapper`",id:"with-wrapper",depth:4,charIndex:-1},{text:"`renderHookAsync` function",id:"renderhookasync-function",depth:2,charIndex:-1},{text:"Result",id:"result-2",depth:3,charIndex:2008}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/misc/render-hook.mdx"},{title:"Queries",routePath:"/docs/api/queries",lang:"en",toc:[{text:"Accessing queries",id:"accessing-queries",depth:2,charIndex:226},{text:"Using `screen` object",id:"using-screen-object",depth:3,charIndex:-1},{text:"Using `render` result",id:"using-render-result",depth:3,charIndex:-1},{text:"Query parts",id:"query-parts",depth:2,charIndex:1114},{text:"Query variant",id:"query-variant",depth:2,charIndex:1373},{text:"`getBy*` queries",id:"getby-queries",depth:3,charIndex:-1},{text:"`getAllBy*` queries",id:"getallby-queries",depth:3,charIndex:-1},{text:"`queryBy*` queries",id:"queryby-queries",depth:3,charIndex:-1},{text:"`queryAllBy*` queries",id:"queryallby-queries",depth:3,charIndex:-1},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"`findAllBy*` queries",id:"findallby-queries",depth:3,charIndex:-1},{text:"Query predicates",id:"query-predicates",depth:2,charIndex:4293},{text:"`*ByRole`",id:"byrole",depth:3,charIndex:-1},{text:"Options",id:"options",depth:4,charIndex:-1},{text:"`*ByLabelText`",id:"bylabeltext",depth:3,charIndex:-1},{text:"`*ByPlaceholderText`",id:"byplaceholdertext",depth:3,charIndex:-1},{text:"`*ByDisplayValue`",id:"bydisplayvalue",depth:3,charIndex:-1},{text:"`*ByText`",id:"bytext",depth:3,charIndex:-1},{text:"`*ByHintText`",id:"byhinttext",depth:3,charIndex:-1},{text:"`*ByTestId`",id:"bytestid",depth:3,charIndex:-1},{text:"Common options",id:"common-options",depth:3,charIndex:12774},{text:"`includeHiddenElements` option",id:"includehiddenelements-option",depth:4,charIndex:-1},{text:"TextMatch type",id:"textmatch-type",depth:2,charIndex:13927},{text:"Examples",id:"examples",depth:3,charIndex:14096},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"Precision",id:"precision",depth:4,charIndex:14916},{text:"Normalization",id:"normalization",depth:4,charIndex:15788},{text:"Legacy unit testing helpers",id:"legacy-unit-testing-helpers",depth:2,charIndex:17281},{text:"`UNSAFE_ByType`",id:"unsafe_bytype",depth:3,charIndex:-1},{text:"`UNSAFE_ByProps`",id:"unsafe_byprops",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/queries.mdx"},{title:"`render` API",routePath:"/docs/api/render",lang:"en",toc:[{text:"`render` function",id:"render-function",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:694},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"`concurrentRoot`",id:"concurrentroot",depth:4,charIndex:-1},{text:"`createNodeMock`",id:"createnodemock",depth:4,charIndex:-1},{text:"`unstable_validateStringsRenderedWithinText`",id:"unstable_validatestringsrenderedwithintext",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2350},{text:"`renderAsync` function",id:"renderasync-function",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:3176},{text:"Result",id:"result-1",depth:3,charIndex:3236}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/render.mdx"},{title:"`screen` object",routePath:"/docs/api/screen",lang:"en",toc:[{text:"`...queries`",id:"queries",depth:3,charIndex:-1},{text:"Example",id:"example",depth:4,charIndex:791},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`rerenderAsync`",id:"rerenderasync",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"`unmountAsync`",id:"unmountasync",depth:3,charIndex:-1},{text:"`debug`",id:"debug",depth:3,charIndex:-1},{text:"`message` option",id:"message-option",depth:4,charIndex:-1},{text:"`mapProps` option",id:"mapprops-option",depth:4,charIndex:-1},{text:"`toJSON`",id:"tojson",depth:3,charIndex:-1},{text:"`root`",id:"root",depth:3,charIndex:-1},{text:"`UNSAFE_root`",id:"unsafe_root",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/api/screen.mdx"},{title:"Community resources",routePath:"/docs/guides/community-resources",lang:"en",toc:[{text:"Recommended content",id:"recommended-content",depth:2,charIndex:3},{text:"Older, potentially outdated content",id:"older-potentially-outdated-content",depth:2,charIndex:601}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/community-resources.mdx"},{title:"FAQ",routePath:"/docs/guides/faq",lang:"en",toc:[{text:"Can I test the native features of React Native apps?",id:"can-i-test-the-native-features-of-react-native-apps",depth:2,charIndex:3},{text:"Should I use/migrate to `screen` queries?",id:"should-i-usemigrate-to-screen-queries",depth:2,charIndex:-1},{text:"Should I use/migrate to User Event interactions?",id:"should-i-usemigrate-to-user-event-interactions",depth:2,charIndex:1595}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/faq.mdx"},{title:"How should I query?",routePath:"/docs/guides/how-to-query",lang:"en",toc:[{text:"Query parts",id:"query-parts",depth:2,charIndex:273},{text:"Query variant",id:"query-variant",depth:2,charIndex:534},{text:"Idiomatic query variants",id:"idiomatic-query-variants",depth:3,charIndex:1399},{text:"Query predicate",id:"query-predicate",depth:2,charIndex:2352},{text:"Idiomatic query predicates",id:"idiomatic-query-predicates",depth:3,charIndex:3126},{text:"1. By Role query",id:"1-by-role-query",depth:3,charIndex:-1},{text:"Name option",id:"name-option",depth:4,charIndex:-1},{text:"2. Text input queries",id:"2-text-input-queries",depth:3,charIndex:-1},{text:"3. Other accessible queries",id:"3-other-accessible-queries",depth:3,charIndex:-1},{text:"4. Test ID query",id:"4-test-id-query",depth:3,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/how-to-query.mdx"},{title:"React 19 & Suspense Support",routePath:"/docs/guides/react-19",lang:"en",toc:[{text:"New async APIs",id:"new-async-apis",depth:2,charIndex:384},{text:"APIs that remain unchanged",id:"apis-that-remain-unchanged",depth:2,charIndex:738},{text:"What changes in your tests",id:"what-changes-in-your-tests",depth:2,charIndex:1053},{text:"Making tests async",id:"making-tests-async",depth:3,charIndex:1083},{text:"When to use async APIs",id:"when-to-use-async-apis",depth:3,charIndex:1579},{text:"Migration strategy",id:"migration-strategy",depth:2,charIndex:1818},{text:"New projects",id:"new-projects",depth:3,charIndex:1840},{text:"Existing projects",id:"existing-projects",depth:3,charIndex:1988},{text:"Future direction",id:"future-direction",depth:3,charIndex:2200}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/react-19.mdx"},{title:"Troubleshooting",routePath:"/docs/guides/troubleshooting",lang:"en",toc:[{text:"Matching React Native, React & React Test Renderer versions",id:"matching-react-native-react--react-test-renderer-versions",depth:2,charIndex:116},{text:"Example repository",id:"example-repository",depth:2,charIndex:1005},{text:"Undefined component error",id:"undefined-component-error",depth:2,charIndex:1254},{text:"Mocking React Native",id:"mocking-react-native",depth:3,charIndex:2357},{text:"Act warnings",id:"act-warnings",depth:2,charIndex:2688}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/guides/troubleshooting.mdx"},{title:"Migration to built-in Jest matchers",routePath:"/docs/migration/jest-matchers",lang:"en",toc:[{text:"General notes",id:"general-notes",depth:2,charIndex:119},{text:"Usage",id:"usage",depth:2,charIndex:533},{text:"Gradual migration",id:"gradual-migration",depth:3,charIndex:715},{text:"Migration details",id:"migration-details",depth:2,charIndex:1159},{text:"Matchers not requiring changes",id:"matchers-not-requiring-changes",depth:3,charIndex:1180},{text:"Replaced matchers",id:"replaced-matchers",depth:3,charIndex:1487},{text:"Added matchers",id:"added-matchers",depth:3,charIndex:1880},{text:"Noteworthy details",id:"noteworthy-details",depth:3,charIndex:1942}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/jest-matchers.mdx"},{title:"Migration to 11.x",routePath:"/docs/migration/previous/v11",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:153},{text:"Update to Jest 28 if you use fake timers",id:"update-to-jest-28-if-you-use-fake-timers",depth:3,charIndex:173},{text:"Refactor legacy `waitForOptions` position",id:"refactor-legacy-waitforoptions-position",depth:3,charIndex:-1},{text:'Triggering non-touch events on targets with `pointerEvents="box-none"` prop',id:"triggering-non-touch-events-on-targets-with-pointereventsbox-none-prop",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:1699}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v11.mdx"},{title:"Migration to 12.x",routePath:"/docs/migration/previous/v12",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:484},{text:"1. All queries exclude elements hidden from accessibility by default",id:"1-all-queries-exclude-elements-hidden-from-accessibility-by-default",depth:3,charIndex:504},{text:"2. `*ByRole` queries now return only accessibility elements",id:"2-byrole-queries-now-return-only-accessibility-elements",depth:3,charIndex:-1},{text:"Examples",id:"examples",depth:4,charIndex:1510},{text:"3. `*ByText`, `*ByDisplayValue`, `*ByPlaceholderText` queries now return host elements",id:"3-bytext-bydisplayvalue-byplaceholdertext-queries-now-return-host-elements",depth:3,charIndex:-1},{text:"4. `container` API has been renamed to `UNSAFE_root`.",id:"4-container-api-has-been-renamed-to-unsafe_root",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:3465}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v12.mdx"},{title:"Migration to 2.x",routePath:"/docs/migration/previous/v2",lang:"en",toc:[{text:"Dropping Node 8",id:"dropping-node-8",depth:2,charIndex:100},{text:"Auto Cleanup",id:"auto-cleanup",depth:2,charIndex:325},{text:"WaitFor API changes",id:"waitfor-api-changes",depth:2,charIndex:1381},{text:"Removed global `debug` function",id:"removed-global-debug-function",depth:2,charIndex:-1},{text:"Removed global `shallow` function",id:"removed-global-shallow-function",depth:2,charIndex:-1},{text:"Removed functions",id:"removed-functions",depth:2,charIndex:2784},{text:"Some `ByTestId` queries behavior changes",id:"some-bytestid-queries-behavior-changes",depth:2,charIndex:-1},{text:"Deprecated `flushMicrotasksQueue`",id:"deprecated-flushmicrotasksqueue",depth:2,charIndex:-1}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v2.mdx"},{title:"Migration to 7.x",routePath:"/docs/migration/previous/v7",lang:"en",toc:[{text:"Guide for `react-native-testing-library` users",id:"guide-for-react-native-testing-library-users",depth:2,charIndex:-1},{text:"Renaming the library",id:"renaming-the-library",depth:3,charIndex:452},{text:"New aliases",id:"new-aliases",depth:3,charIndex:1352},{text:"Renaming `ByPlaceholder` queries",id:"renaming-byplaceholder-queries",depth:3,charIndex:-1},{text:"`fireEvent` support for disabled components",id:"fireevent-support-for-disabled-components",depth:3,charIndex:-1},{text:"Guide for `@testing-library/react-native` users",id:"guide-for-testing-libraryreact-native-users",depth:2,charIndex:-1},{text:'Renaming "wait" helpers',id:"renaming-wait-helpers",depth:3,charIndex:2874},{text:"Changes to `ByTestId` queries",id:"changes-to-bytestid-queries",depth:3,charIndex:-1},{text:"No `ByTitle` queries",id:"no-bytitle-queries",depth:3,charIndex:-1},{text:"No custom Jest configuration",id:"no-custom-jest-configuration",depth:3,charIndex:3628},{text:"Cleanup is included by default",id:"cleanup-is-included-by-default",depth:3,charIndex:4014},{text:"No NativeTestInstance abstraction",id:"no-nativetestinstance-abstraction",depth:3,charIndex:4510},{text:"No `container` nor `baseElement` returned from `render`",id:"no-container-nor-baseelement-returned-from-render",depth:3,charIndex:-1},{text:"Firing events changes",id:"firing-events-changes",depth:3,charIndex:5020}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v7.mdx"},{title:"Migration to 9.x",routePath:"/docs/migration/previous/v9",lang:"en",toc:[{text:"Support for text match options a.k.a string precision API",id:"support-for-text-match-options-aka-string-precision-api",depth:2,charIndex:284},{text:"Reverted matching text across several nodes",id:"reverted-matching-text-across-several-nodes",depth:2,charIndex:1282},{text:"Future plans",id:"future-plans",depth:2,charIndex:2046}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/previous/v9.mdx"},{title:"Migration to 13.x",routePath:"/docs/migration/v13",lang:"en",toc:[{text:"Breaking changes",id:"breaking-changes",depth:2,charIndex:228},{text:"Supported React and React Native versions",id:"supported-react-and-react-native-versions",depth:3,charIndex:248},{text:"Concurrent rendering by default",id:"concurrent-rendering-by-default",depth:3,charIndex:593},{text:"Extend Jest matchers by default",id:"extend-jest-matchers-by-default",depth:3,charIndex:980},{text:"Removed deprecated `*ByAccessibilityState` queries",id:"removed-deprecated-byaccessibilitystate-queries",depth:3,charIndex:-1},{text:"Removed deprecated `*ByAccessibilityValue` queries",id:"removed-deprecated-byaccessibilityvalue-queries",depth:3,charIndex:-1},{text:"Removed Jest preset",id:"removed-jest-preset",depth:3,charIndex:3140},{text:"Removed `debug.shallow`",id:"removed-debugshallow",depth:3,charIndex:-1},{text:"Changes to accessibility label calculation",id:"changes-to-accessibility-label-calculation",depth:3,charIndex:3557},{text:"Other changes",id:"other-changes",depth:2,charIndex:3790},{text:"Removed host component names autodetection",id:"removed-host-component-names-autodetection",depth:3,charIndex:3807},{text:"Use React implementation of `act` instead of React Test Renderer one",id:"use-react-implementation-of-act-instead-of-react-test-renderer-one",depth:3,charIndex:-1},{text:"Updated `flushMicroTasks` internal method",id:"updated-flushmicrotasks-internal-method",depth:3,charIndex:-1},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:4139}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/migration/v13.mdx"},{title:"Introduction",routePath:"/docs/start/intro",lang:"en",toc:[{text:"The problem",id:"the-problem",depth:2,charIndex:3},{text:"This solution",id:"this-solution",depth:2,charIndex:479},{text:"Example",id:"example",depth:2,charIndex:988}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/start/intro.md"},{title:"Quick Start",routePath:"/docs/start/quick-start",lang:"en",toc:[{text:"Installation",id:"installation",depth:2,charIndex:3},{text:"Jest matchers",id:"jest-matchers",depth:3,charIndex:223},{text:"ESLint plugin",id:"eslint-plugin",depth:3,charIndex:461}],frontmatter:{},version:"13.x",_relativePath:"13.x/docs/start/quick-start.mdx"},{title:"",routePath:"/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{image:{src:{light:"/img/logo-light.svg",dark:"/img/logo-dark.svg"}},name:"JavaScript Integration testing for React Native",tagline:"The more your tests resemble the way your software is used, the more confidence they can give you.
                    — Kent C. Dodds",actions:[{theme:"brand",text:"Quick Start",link:"/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:''},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:''},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:''}]},version:"13.x",_relativePath:"13.x/index.md"},{title:"Network Requests",routePath:"/14.x/cookbook/advanced/network-requests",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Phonebook Example",id:"phonebook-example",depth:2,charIndex:568},{text:"Start testing with a simple test",id:"start-testing-with-a-simple-test",depth:2,charIndex:4116},{text:"Testing error handling",id:"testing-error-handling",depth:2,charIndex:7195},{text:"Global guarding against unwanted API requests",id:"global-guarding-against-unwanted-api-requests",depth:2,charIndex:9019},{text:"Conclusion",id:"conclusion",depth:2,charIndex:10041},{text:"Further Reading and Alternatives",id:"further-reading-and-alternatives",depth:2,charIndex:10663}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/advanced/network-requests.md"},{title:"Async Events",routePath:"/14.x/cookbook/basics/async-events",lang:"en",toc:[{text:"Summary",id:"summary",depth:2,charIndex:3},{text:"Example",id:"example",depth:3,charIndex:665},{text:"Async utilities",id:"async-utilities",depth:2,charIndex:1797},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"Example",id:"example-1",depth:4,charIndex:2611},{text:"`waitFor` function",id:"waitfor-function",depth:3,charIndex:-1},{text:"Example",id:"example-2",depth:4,charIndex:3390},{text:"`waitForElementToBeRemoved` function",id:"waitforelementtoberemoved-function",depth:3,charIndex:-1},{text:"Example",id:"example-3",depth:4,charIndex:4209},{text:"Fake Timers",id:"fake-timers",depth:2,charIndex:4287}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/basics/async-events.md"},{title:"Custom `render` function",routePath:"/14.x/cookbook/basics/custom-render",lang:"en",toc:[{text:"Summary",id:"summary",depth:3,charIndex:25},{text:"Example",id:"example",depth:3,charIndex:318},{text:"More info",id:"more-info",depth:3,charIndex:976},{text:"Additional params",id:"additional-params",depth:4,charIndex:988},{text:"Multiple functions",id:"multiple-functions",depth:4,charIndex:1310},{text:"Async setup",id:"async-setup",depth:4,charIndex:1601}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/basics/custom-render.md"},{title:"Introduction",routePath:"/14.x/cookbook/",lang:"en",toc:[{text:"What's Inside the Cookbook?",id:"whats-inside-the-cookbook",depth:2,charIndex:434},{text:"What's Next?",id:"whats-next",depth:2,charIndex:1045}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/index.md"},{title:"Jotai",routePath:"/14.x/cookbook/state-management/jotai",lang:"en",toc:[{text:"Introduction",id:"introduction",depth:2,charIndex:3},{text:"Task List Example",id:"task-list-example",depth:2,charIndex:337},{text:"Starting with a Simple Test",id:"starting-with-a-simple-test",depth:2,charIndex:1145},{text:"Custom Render Function to populate Jotai Atoms with Initial Values",id:"custom-render-function-to-populate-jotai-atoms-with-initial-values",depth:2,charIndex:1620},{text:"Testing the `TaskList` Component with initial tasks",id:"testing-the-tasklist-component-with-initial-tasks",depth:2,charIndex:-1},{text:"Modifying atom outside of React components",id:"modifying-atom-outside-of-react-components",depth:2,charIndex:4409},{text:"Testing atom outside of React components",id:"testing-atom-outside-of-react-components",depth:2,charIndex:5010},{text:"Conclusion",id:"conclusion",depth:2,charIndex:5691}],frontmatter:{},version:"14.x",_relativePath:"14.x/cookbook/state-management/jotai.md"},{title:"Testing environment",routePath:"/14.x/docs/advanced/testing-env",lang:"en",toc:[{text:"React renderers",id:"react-renderers",depth:2,charIndex:659},{text:"Test Renderer",id:"test-renderer",depth:2,charIndex:1382},{text:"Element tree",id:"element-tree",depth:2,charIndex:2921},{text:"Host and composite components",id:"host-and-composite-components",depth:2,charIndex:3603},{text:"Host-only element tree",id:"host-only-element-tree",depth:3,charIndex:5487},{text:"Tree nodes",id:"tree-nodes",depth:2,charIndex:6026},{text:"Understanding props",id:"understanding-props",depth:3,charIndex:6353},{text:"Tree navigation",id:"tree-navigation",depth:2,charIndex:7023},{text:"Queries",id:"queries",depth:2,charIndex:7505}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/advanced/testing-env.mdx"},{title:"Third-Party Library Integration",routePath:"/14.x/docs/advanced/third-party-integration",lang:"en",toc:[{text:"Handling Events in Third-Party Libraries",id:"handling-events-in-third-party-libraries",depth:2,charIndex:234},{text:"Example: React Native Gesture Handler",id:"example-react-native-gesture-handler",depth:3,charIndex:1026}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/advanced/third-party-integration.mdx"},{title:"Understanding `act` function",routePath:"/14.x/docs/advanced/understanding-act",lang:"en",toc:[{text:"`act` warning",id:"act-warning",depth:2,charIndex:-1},{text:"Understanding `act`",id:"understanding-act",depth:2,charIndex:-1},{text:"Responsibility",id:"responsibility",depth:3,charIndex:768},{text:"When to use act",id:"when-to-use-act",depth:3,charIndex:2679},{text:"Implementation",id:"implementation",depth:3,charIndex:3741},{text:"Asynchronous code",id:"asynchronous-code",depth:2,charIndex:4563},{text:"Handling asynchronous operations",id:"handling-asynchronous-operations",depth:3,charIndex:4989},{text:"Solution with fake timers",id:"solution-with-fake-timers",depth:3,charIndex:5865},{text:"Solution with real timers",id:"solution-with-real-timers",depth:3,charIndex:6403},{text:"References",id:"references",depth:2,charIndex:7864}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/advanced/understanding-act.mdx"},{title:"API Overview",routePath:"/14.x/docs/api",lang:"en",toc:[],frontmatter:{uri:"/api"},version:"14.x",_relativePath:"14.x/docs/api.md"},{title:"Fire Event API",routePath:"/14.x/docs/api/events/fire-event",lang:"en",toc:[{text:"`fireEvent`",id:"fireevent",depth:2,charIndex:-1},{text:"`fireEvent.press`",id:"fireeventpress",depth:3,charIndex:-1},{text:"`fireEvent.changeText`",id:"fireeventchangetext",depth:3,charIndex:-1},{text:"`fireEvent.scroll`",id:"fireeventscroll",depth:3,charIndex:-1},{text:"On a `ScrollView`",id:"on-a-scrollview",depth:4,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/events/fire-event.mdx"},{title:"User Event interactions",routePath:"/14.x/docs/api/events/user-event",lang:"en",toc:[{text:"Comparison with Fire Event API",id:"comparison-with-fire-event-api",depth:2,charIndex:3},{text:"`setup()`",id:"setup",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:-1},{text:"`press()`",id:"press",depth:2,charIndex:-1},{text:"`longPress()`",id:"longpress",depth:2,charIndex:-1},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"`type()`",id:"type",depth:2,charIndex:-1},{text:"Options",id:"options-2",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events",depth:3,charIndex:-1},{text:"`clear()`",id:"clear",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-1",depth:3,charIndex:-1},{text:"`paste()`",id:"paste",depth:2,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-2",depth:3,charIndex:-1},{text:"`scrollTo()`",id:"scroll-to",depth:2,charIndex:-1},{text:"Options",id:"options-3",depth:3,charIndex:-1},{text:"Sequence of events",id:"sequence-of-events-3",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/events/user-event.mdx"},{title:"Jest matchers",routePath:"/14.x/docs/api/jest-matchers",lang:"en",toc:[{text:"Setup",id:"setup",depth:2,charIndex:173},{text:"Checking element existence",id:"checking-element-existence",depth:2,charIndex:355},{text:"`toBeOnTheScreen()`",id:"tobeonthescreen",depth:3,charIndex:-1},{text:"Element Content",id:"element-content",depth:2,charIndex:644},{text:"`toHaveTextContent()`",id:"tohavetextcontent",depth:3,charIndex:-1},{text:"`toContainElement()`",id:"tocontainelement",depth:3,charIndex:-1},{text:"`toBeEmptyElement()`",id:"tobeemptyelement",depth:3,charIndex:-1},{text:"Checking element state",id:"checking-element-state",depth:2,charIndex:1380},{text:"`toHaveDisplayValue()`",id:"tohavedisplayvalue",depth:3,charIndex:-1},{text:"`toHaveAccessibilityValue()`",id:"tohaveaccessibilityvalue",depth:3,charIndex:-1},{text:"`toBeEnabled()` / `toBeDisabled`",id:"tobeenabled--tobedisabled",depth:3,charIndex:-1},{text:"`toBeSelected()`",id:"tobeselected",depth:3,charIndex:-1},{text:"`toBeChecked()` / `toBePartiallyChecked()`",id:"tobechecked--tobepartiallychecked",depth:3,charIndex:-1},{text:"`toBeExpanded()` / `toBeCollapsed()`",id:"tobeexpanded--tobecollapsed",depth:3,charIndex:-1},{text:"`toBeBusy()`",id:"tobebusy",depth:3,charIndex:-1},{text:"Checking element style",id:"checking-element-style",depth:2,charIndex:4535},{text:"`toBeVisible()`",id:"tobevisible",depth:3,charIndex:-1},{text:"`toHaveStyle()`",id:"tohavestyle",depth:3,charIndex:-1},{text:"Other matchers",id:"other-matchers",depth:2,charIndex:5013},{text:"`toHaveAccessibleName()`",id:"tohaveaccessiblename",depth:3,charIndex:-1},{text:"`toHaveProp()`",id:"tohaveprop",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/jest-matchers.mdx"},{title:"Accessibility",routePath:"/14.x/docs/api/misc/accessibility",lang:"en",toc:[{text:"`isHiddenFromAccessibility`",id:"ishiddenfromaccessibility",depth:2,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/accessibility.mdx"},{title:"Async utilities",routePath:"/14.x/docs/api/misc/async",lang:"en",toc:[{text:"`findBy*` queries",id:"findby-queries",depth:2,charIndex:-1},{text:"`waitFor`",id:"waitfor",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:3660},{text:"`waitForElementToBeRemoved`",id:"waitforelementtoberemoved",depth:2,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/async.mdx"},{title:"Configuration",routePath:"/14.x/docs/api/misc/config",lang:"en",toc:[{text:"`configure`",id:"configure",depth:2,charIndex:-1},{text:"`asyncUtilTimeout` option",id:"asyncutiltimeout-option",depth:3,charIndex:-1},{text:"`defaultIncludeHiddenElements` option",id:"defaultincludehiddenelements-option",depth:3,charIndex:-1},{text:"`defaultDebugOptions` option",id:"defaultdebugoptions-option",depth:3,charIndex:-1},{text:"`resetToDefaults()`",id:"resettodefaults",depth:2,charIndex:-1},{text:"Environment variables",id:"environment-variables",depth:2,charIndex:1313},{text:"`RNTL_SKIP_AUTO_CLEANUP`",id:"rntl_skip_auto_cleanup",depth:3,charIndex:-1},{text:"`RNTL_SKIP_AUTO_DETECT_FAKE_TIMERS`",id:"rntl_skip_auto_detect_fake_timers",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/config.mdx"},{title:"Other helpers",routePath:"/14.x/docs/api/misc/other",lang:"en",toc:[{text:"`within`",id:"within",depth:2,charIndex:-1},{text:"`act`",id:"act",depth:2,charIndex:-1},{text:"`cleanup`",id:"cleanup",depth:2,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/other.mdx"},{title:"`renderHook` function",routePath:"/14.x/docs/api/misc/render-hook",lang:"en",toc:[{text:"`renderHook`",id:"renderhook",depth:2,charIndex:-1},{text:"`options`",id:"options",depth:3,charIndex:-1},{text:"`initialProps`",id:"initialprops",depth:4,charIndex:-1},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2336},{text:"`result`",id:"result-1",depth:4,charIndex:-1},{text:"`rerender`",id:"rerender",depth:4,charIndex:-1},{text:"`unmount`",id:"unmount",depth:4,charIndex:-1},{text:"Examples",id:"examples",depth:3,charIndex:3454},{text:"With `initialProps`",id:"with-initialprops",depth:4,charIndex:-1},{text:"With `wrapper`",id:"with-wrapper",depth:4,charIndex:-1},{text:"With React Suspense",id:"with-react-suspense",depth:4,charIndex:4501}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/misc/render-hook.mdx"},{title:"Queries",routePath:"/14.x/docs/api/queries",lang:"en",toc:[{text:"Accessing queries",id:"accessing-queries",depth:2,charIndex:226},{text:"Using `screen` object",id:"using-screen-object",depth:3,charIndex:-1},{text:"Using `render` result",id:"using-render-result",depth:3,charIndex:-1},{text:"Query parts",id:"query-parts",depth:2,charIndex:1138},{text:"Query variant",id:"query-variant",depth:2,charIndex:1397},{text:"`getBy*` queries",id:"getby-queries",depth:3,charIndex:-1},{text:"`getAllBy*` queries",id:"getallby-queries",depth:3,charIndex:-1},{text:"`queryBy*` queries",id:"queryby-queries",depth:3,charIndex:-1},{text:"`queryAllBy*` queries",id:"queryallby-queries",depth:3,charIndex:-1},{text:"`findBy*` queries",id:"findby-queries",depth:3,charIndex:-1},{text:"`findAllBy*` queries",id:"findallby-queries",depth:3,charIndex:-1},{text:"Query predicates",id:"query-predicates",depth:2,charIndex:4239},{text:"`*ByRole`",id:"byrole",depth:3,charIndex:-1},{text:"Options",id:"options",depth:4,charIndex:-1},{text:"`*ByLabelText`",id:"bylabeltext",depth:3,charIndex:-1},{text:"`*ByPlaceholderText`",id:"byplaceholdertext",depth:3,charIndex:-1},{text:"`*ByDisplayValue`",id:"bydisplayvalue",depth:3,charIndex:-1},{text:"`*ByText`",id:"bytext",depth:3,charIndex:-1},{text:"`*ByHintText`",id:"byhinttext",depth:3,charIndex:-1},{text:"`*ByTestId`",id:"bytestid",depth:3,charIndex:-1},{text:"Common options",id:"common-options",depth:3,charIndex:12692},{text:"`includeHiddenElements` option",id:"includehiddenelements-option",depth:4,charIndex:-1},{text:"TextMatch type",id:"textmatch-type",depth:2,charIndex:13851},{text:"Examples",id:"examples",depth:3,charIndex:14020},{text:"Options",id:"options-1",depth:3,charIndex:-1},{text:"Precision",id:"precision",depth:4,charIndex:14846},{text:"Normalization",id:"normalization",depth:4,charIndex:15718}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/queries.mdx"},{title:"`render` API",routePath:"/14.x/docs/api/render",lang:"en",toc:[{text:"`render` function",id:"render-function",depth:2,charIndex:-1},{text:"Options",id:"options",depth:3,charIndex:942},{text:"`wrapper`",id:"wrapper",depth:4,charIndex:-1},{text:"`createNodeMock`",id:"createnodemock",depth:4,charIndex:-1},{text:"Result",id:"result",depth:3,charIndex:2149}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/render.mdx"},{title:"`screen` object",routePath:"/14.x/docs/api/screen",lang:"en",toc:[{text:"`...queries`",id:"queries",depth:3,charIndex:-1},{text:"Example",id:"example",depth:4,charIndex:792},{text:"`rerender`",id:"rerender",depth:3,charIndex:-1},{text:"`unmount`",id:"unmount",depth:3,charIndex:-1},{text:"`debug`",id:"debug",depth:3,charIndex:-1},{text:"`message` option",id:"message-option",depth:4,charIndex:-1},{text:"`mapProps` option",id:"mapprops-option",depth:4,charIndex:-1},{text:"`toJSON`",id:"tojson",depth:3,charIndex:-1},{text:"`container`",id:"container",depth:3,charIndex:-1},{text:"`root`",id:"root",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/api/screen.mdx"},{title:"Community resources",routePath:"/14.x/docs/guides/community-resources",lang:"en",toc:[{text:"Recommended content",id:"recommended-content",depth:2,charIndex:3},{text:"Older, potentially outdated content",id:"older-potentially-outdated-content",depth:2,charIndex:601}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/community-resources.mdx"},{title:"FAQ",routePath:"/14.x/docs/guides/faq",lang:"en",toc:[{text:"Can I test the native features of React Native apps?",id:"can-i-test-the-native-features-of-react-native-apps",depth:2,charIndex:3},{text:"Should I use/migrate to `screen` queries?",id:"should-i-usemigrate-to-screen-queries",depth:2,charIndex:-1},{text:"Should I use/migrate to User Event interactions?",id:"should-i-usemigrate-to-user-event-interactions",depth:2,charIndex:1589}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/faq.mdx"},{title:"How should I query?",routePath:"/14.x/docs/guides/how-to-query",lang:"en",toc:[{text:"Query parts",id:"query-parts",depth:2,charIndex:273},{text:"Query variant",id:"query-variant",depth:2,charIndex:534},{text:"Idiomatic query variants",id:"idiomatic-query-variants",depth:3,charIndex:1357},{text:"Query predicate",id:"query-predicate",depth:2,charIndex:2310},{text:"Idiomatic query predicates",id:"idiomatic-query-predicates",depth:3,charIndex:3101},{text:"1. By Role query",id:"1-by-role-query",depth:3,charIndex:-1},{text:"Name option",id:"name-option",depth:4,charIndex:-1},{text:"2. Text input queries",id:"2-text-input-queries",depth:3,charIndex:-1},{text:"3. Other accessible queries",id:"3-other-accessible-queries",depth:3,charIndex:-1},{text:"4. Test ID query",id:"4-test-id-query",depth:3,charIndex:-1}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/how-to-query.mdx"},{title:"Troubleshooting",routePath:"/14.x/docs/guides/troubleshooting",lang:"en",toc:[{text:"Example repository",id:"example-repository",depth:2,charIndex:116},{text:"Undefined component error",id:"undefined-component-error",depth:2,charIndex:365},{text:"Mocking React Native",id:"mocking-react-native",depth:3,charIndex:1468},{text:"Act warnings",id:"act-warnings",depth:2,charIndex:1799}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/guides/troubleshooting.mdx"},{title:"Introduction",routePath:"/14.x/docs/start/intro",lang:"en",toc:[{text:"The problem",id:"the-problem",depth:2,charIndex:151},{text:"This solution",id:"this-solution",depth:2,charIndex:627},{text:"Example",id:"example",depth:2,charIndex:1140}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/start/intro.md"},{title:"Migration to 14.x",routePath:"/14.x/docs/start/migration-v14",lang:"en",toc:[{text:"Overview",id:"overview",depth:2,charIndex:249},{text:"Quick Migration",id:"quick-migration",depth:2,charIndex:912},{text:"Breaking Changes",id:"breaking-changes",depth:2,charIndex:1119},{text:"Supported React and React Native versions",id:"supported-react-and-react-native-versions",depth:3,charIndex:1139},{text:"Test Renderer replaces React Test Renderer",id:"test-renderer-replaces-react-test-renderer",depth:3,charIndex:1442},{text:"1. Update dependencies",id:"1-update-dependencies",depth:4,charIndex:2042},{text:"2. Update type imports (if needed)",id:"2-update-type-imports-if-needed",depth:4,charIndex:2228},{text:"Async APIs by Default",id:"async-apis-by-default",depth:3,charIndex:2586},{text:"`render` is now async",id:"render-is-now-async",depth:4,charIndex:-1},{text:"`renderHook` is now async",id:"renderhook-is-now-async",depth:4,charIndex:-1},{text:"`fireEvent` is now async",id:"fireevent-is-now-async",depth:4,charIndex:-1},{text:"`act` is now async",id:"act-is-now-async",depth:4,charIndex:-1},{text:"Benefits of Async APIs",id:"benefits-of-async-apis",depth:4,charIndex:5714},{text:"Removed APIs",id:"removed-apis",depth:3,charIndex:6043},{text:"`update` alias removed",id:"update-alias-removed",depth:4,charIndex:-1},{text:"`getQueriesForElement` export removed",id:"getqueriesforelement-export-removed",depth:4,charIndex:-1},{text:"`UNSAFE_root` removed",id:"unsafe_root-removed",depth:4,charIndex:-1},{text:"Legacy `UNSAFE_*` queries removed",id:"legacy-unsafe_-queries-removed",depth:4,charIndex:-1},{text:"`concurrentRoot` option removed",id:"concurrentroot-option-removed",depth:4,charIndex:-1},{text:"`container` API reintroduced",id:"container-api-reintroduced",depth:3,charIndex:-1},{text:"Text string validation enforced by default",id:"text-string-validation-enforced-by-default",depth:3,charIndex:9911},{text:"Codemods",id:"codemods",depth:2,charIndex:11215},{text:"`rntl-v14-update-deps`",id:"rntl-v14-update-deps",depth:3,charIndex:-1},{text:"`rntl-v14-async-functions`",id:"rntl-v14-async-functions",depth:3,charIndex:-1},{text:"Custom render functions",id:"custom-render-functions",depth:4,charIndex:11852},{text:"Limitations",id:"limitations",depth:4,charIndex:12215},{text:"Full Changelog",id:"full-changelog",depth:2,charIndex:12360}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/start/migration-v14.mdx"},{title:"Quick Start",routePath:"/14.x/docs/start/quick-start",lang:"en",toc:[{text:"Installation",id:"installation",depth:2,charIndex:151},{text:"Jest matchers",id:"jest-matchers",depth:3,charIndex:429},{text:"ESLint plugin",id:"eslint-plugin",depth:3,charIndex:663}],frontmatter:{},version:"14.x",_relativePath:"14.x/docs/start/quick-start.mdx"},{title:"",routePath:"/14.x/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{image:{src:{light:"/img/logo-light.svg",dark:"/img/logo-dark.svg"}},name:"JavaScript Integration testing for React Native",tagline:"The more your tests resemble the way your software is used, the more confidence they can give you.
                    — Kent C. Dodds",actions:[{theme:"brand",text:"Quick Start",link:"/14.x/docs/start/quick-start"},{theme:"alt",text:"Explore API",link:"/14.x/docs/api"}]},features:[{title:"Maintainable",details:"Write maintainable tests for your React Native apps.",icon:''},{title:"Reliable",details:"Promotes testing public APIs and avoiding implementation details.",icon:''},{title:"Community Driven",details:"Supported by React Native community and its core contributors.",icon:''}]},version:"14.x",_relativePath:"14.x/index.md"},{title:"",routePath:"/404",lang:"en",toc:[],frontmatter:{pageType:"custom"},version:"13.x",_relativePath:"404.mdx"}]},i={"12.x###en":"2e9f93c8","13.x###en":"d71f424f","14.x###en":"42597e85"}},7295(e,t,n){n.d(t,{A:()=>a});let a={github:''}},3283(e,t,n){n.d(t,{A:()=>a});let a={languagesText:{en:"Languages"},themeText:{en:"Theme"},versionsText:{en:"Versions"},menuTitle:{en:"Menu"},outlineTitle:{en:"Contents"},scrollToTopText:{en:"Back to top"},lastUpdatedText:{en:"Last Updated"},prevPageText:{en:"Previous page"},nextPageText:{en:"Next page"},sourceCodeText:{en:"Source Code"},searchPlaceholderText:{en:"Search"},searchPanelCancelText:{en:"Cancel"},searchNoResultsText:{en:"No results found, try something different than"},searchSuggestedQueryText:{en:" "},"overview.filterNameText":{en:" "},"overview.filterPlaceholderText":{en:"Search API"},"overview.filterNoResultText":{en:"No matching API found"},editLinkText:{en:"Edit this page on GitHub"},codeButtonGroupCopyButtonText:{en:"Copy code"},notFoundText:{en:"PAGE NOT FOUND"},takeMeHomeText:{en:"Take me home"}}},7038(e,t,n){n.d(t,{A:()=>d});var a=n(1742),i=n(7407);let d=[[a.A,{}],[i.A,{mode:"production"}]]},1457(e,t,n){n(6761),n(6523)},909(e,t,n){n.r(t),n.d(t,{onSearch:()=>a});let a=()=>{}},3809(e,t,n){n.d(t,{J:()=>eJ});var a=n(6540),i=n(4764);let d=(0,i.lazyWithPreload)(()=>n.e("9056").then(n.bind(n,9155))),r=(0,i.lazyWithPreload)(()=>n.e("8136").then(n.bind(n,8619))),o=(0,i.lazyWithPreload)(()=>n.e("1054").then(n.bind(n,3149))),s=(0,i.lazyWithPreload)(()=>n.e("1464").then(n.bind(n,8971))),c=(0,i.lazyWithPreload)(()=>n.e("3117").then(n.bind(n,8828))),h=(0,i.lazyWithPreload)(()=>n.e("759").then(n.bind(n,362))),l=(0,i.lazyWithPreload)(()=>n.e("1354").then(n.bind(n,2017))),x=(0,i.lazyWithPreload)(()=>n.e("5314").then(n.bind(n,5641))),p=(0,i.lazyWithPreload)(()=>n.e("9000").then(n.bind(n,9595))),m=(0,i.lazyWithPreload)(()=>n.e("5843").then(n.bind(n,8670))),u=(0,i.lazyWithPreload)(()=>n.e("5785").then(n.bind(n,5696))),g=(0,i.lazyWithPreload)(()=>n.e("8894").then(n.bind(n,8285))),v=(0,i.lazyWithPreload)(()=>n.e("818").then(n.bind(n,7241))),y=(0,i.lazyWithPreload)(()=>n.e("6556").then(n.bind(n,6503))),b=(0,i.lazyWithPreload)(()=>n.e("1784").then(n.bind(n,2363))),I=(0,i.lazyWithPreload)(()=>n.e("9621").then(n.bind(n,9337))),f=(0,i.lazyWithPreload)(()=>n.e("5299").then(n.bind(n,2318))),k=(0,i.lazyWithPreload)(()=>n.e("6961").then(n.bind(n,2984))),P=(0,i.lazyWithPreload)(()=>n.e("3325").then(n.bind(n,9708))),w=(0,i.lazyWithPreload)(()=>n.e("935").then(n.bind(n,9962))),q=(0,i.lazyWithPreload)(()=>n.e("1494").then(n.bind(n,3557))),E=(0,i.lazyWithPreload)(()=>n.e("2903").then(n.bind(n,6202))),T=(0,i.lazyWithPreload)(()=>n.e("5860").then(n.bind(n,3727))),A=(0,i.lazyWithPreload)(()=>n.e("1005").then(n.bind(n,6412))),R=(0,i.lazyWithPreload)(()=>n.e("4055").then(n.bind(n,90))),_=(0,i.lazyWithPreload)(()=>n.e("865").then(n.bind(n,9784))),C=(0,i.lazyWithPreload)(()=>n.e("2346").then(n.bind(n,5313))),S=(0,i.lazyWithPreload)(()=>n.e("2604").then(n.bind(n,4135))),B=(0,i.lazyWithPreload)(()=>n.e("9574").then(n.bind(n,3653))),W=(0,i.lazyWithPreload)(()=>n.e("7193").then(n.bind(n,4976))),z=(0,i.lazyWithPreload)(()=>n.e("7817").then(n.bind(n,3840))),N=(0,i.lazyWithPreload)(()=>n.e("4566").then(n.bind(n,1925))),j=(0,i.lazyWithPreload)(()=>n.e("2147").then(n.bind(n,7438))),O=(0,i.lazyWithPreload)(()=>n.e("569").then(n.bind(n,4736))),M=(0,i.lazyWithPreload)(()=>n.e("8247").then(n.bind(n,8986))),F=(0,i.lazyWithPreload)(()=>n.e("9643").then(n.bind(n,470))),U=(0,i.lazyWithPreload)(()=>n.e("5184").then(n.bind(n,4899))),H=(0,i.lazyWithPreload)(()=>n.e("2000").then(n.bind(n,8739))),Q=(0,i.lazyWithPreload)(()=>n.e("7013").then(n.bind(n,660))),L=(0,i.lazyWithPreload)(()=>n.e("4037").then(n.bind(n,7812))),D=(0,i.lazyWithPreload)(()=>n.e("9545").then(n.bind(n,7120))),G=(0,i.lazyWithPreload)(()=>n.e("2145").then(n.bind(n,6392))),J=(0,i.lazyWithPreload)(()=>n.e("2718").then(n.bind(n,9789))),V=(0,i.lazyWithPreload)(()=>n.e("8792").then(n.bind(n,4603))),K=(0,i.lazyWithPreload)(()=>n.e("273").then(n.bind(n,7224))),Y=(0,i.lazyWithPreload)(()=>n.e("7233").then(n.bind(n,8312))),Z=(0,i.lazyWithPreload)(()=>n.e("725").then(n.bind(n,5412))),X=(0,i.lazyWithPreload)(()=>n.e("3583").then(n.bind(n,8914))),$=(0,i.lazyWithPreload)(()=>n.e("477").then(n.bind(n,9628))),ee=(0,i.lazyWithPreload)(()=>n.e("6702").then(n.bind(n,9133))),et=(0,i.lazyWithPreload)(()=>n.e("1918").then(n.bind(n,7821))),en=(0,i.lazyWithPreload)(()=>n.e("9790").then(n.bind(n,1325))),ea=(0,i.lazyWithPreload)(()=>n.e("2232").then(n.bind(n,8155))),ei=(0,i.lazyWithPreload)(()=>n.e("41").then(n.bind(n,6560))),ed=(0,i.lazyWithPreload)(()=>n.e("5422").then(n.bind(n,8781))),er=(0,i.lazyWithPreload)(()=>n.e("2839").then(n.bind(n,6746))),eo=(0,i.lazyWithPreload)(()=>n.e("39").then(n.bind(n,1914))),es=(0,i.lazyWithPreload)(()=>n.e("9652").then(n.bind(n,9279))),ec=(0,i.lazyWithPreload)(()=>n.e("4120").then(n.bind(n,8491))),eh=(0,i.lazyWithPreload)(()=>n.e("197").then(n.bind(n,8996))),el=(0,i.lazyWithPreload)(()=>n.e("5792").then(n.bind(n,4099))),ex=(0,i.lazyWithPreload)(()=>n.e("5167").then(n.bind(n,5378))),ep=(0,i.lazyWithPreload)(()=>n.e("85").then(n.bind(n,7924))),em=(0,i.lazyWithPreload)(()=>n.e("4844").then(n.bind(n,1079))),eu=(0,i.lazyWithPreload)(()=>n.e("2026").then(n.bind(n,2289))),eg=(0,i.lazyWithPreload)(()=>n.e("9400").then(n.bind(n,8891))),ev=(0,i.lazyWithPreload)(()=>n.e("7783").then(n.bind(n,6954))),ey=(0,i.lazyWithPreload)(()=>n.e("8158").then(n.bind(n,2381))),eb=(0,i.lazyWithPreload)(()=>n.e("1100").then(n.bind(n,3143))),eI=(0,i.lazyWithPreload)(()=>n.e("6924").then(n.bind(n,7831))),ef=(0,i.lazyWithPreload)(()=>n.e("9610").then(n.bind(n,529))),ek=(0,i.lazyWithPreload)(()=>n.e("6531").then(n.bind(n,7166))),eP=(0,i.lazyWithPreload)(()=>n.e("8653").then(n.bind(n,764))),ew=(0,i.lazyWithPreload)(()=>n.e("6112").then(n.bind(n,5059))),eq=(0,i.lazyWithPreload)(()=>n.e("4576").then(n.bind(n,1779))),eE=(0,i.lazyWithPreload)(()=>n.e("2324").then(n.bind(n,6911))),eT=(0,i.lazyWithPreload)(()=>n.e("3170").then(n.bind(n,7209))),eA=(0,i.lazyWithPreload)(()=>n.e("4293").then(n.bind(n,1108))),eR=(0,i.lazyWithPreload)(()=>n.e("3711").then(n.bind(n,6498))),e_=(0,i.lazyWithPreload)(()=>n.e("6036").then(n.bind(n,2783))),eC=(0,i.lazyWithPreload)(()=>n.e("48").then(n.bind(n,579))),eS=(0,i.lazyWithPreload)(()=>n.e("4838").then(n.bind(n,6645))),eB=(0,i.lazyWithPreload)(()=>n.e("2").then(n.bind(n,5961))),eW=(0,i.lazyWithPreload)(()=>n.e("212").then(n.bind(n,2047))),ez=(0,i.lazyWithPreload)(()=>n.e("3869").then(n.bind(n,1020))),eN=(0,i.lazyWithPreload)(()=>n.e("4939").then(n.bind(n,9366))),ej=(0,i.lazyWithPreload)(()=>n.e("1035").then(n.bind(n,7478))),eO=(0,i.lazyWithPreload)(()=>n.e("841").then(n.bind(n,672))),eM=(0,i.lazyWithPreload)(()=>n.e("968").then(n.bind(n,9675))),eF=(0,i.lazyWithPreload)(()=>n.e("9705").then(n.bind(n,816))),eU=(0,i.lazyWithPreload)(()=>n.e("2002").then(n.bind(n,4921))),eH=(0,i.lazyWithPreload)(()=>n.e("1523").then(n.bind(n,9022))),eQ=(0,i.lazyWithPreload)(()=>n.e("79").then(n.bind(n,8898))),eL=(0,i.lazyWithPreload)(()=>n.e("7963").then(n.bind(n,4438))),eD=(0,i.lazyWithPreload)(()=>n.e("3736").then(n.bind(n,536))),eG=(0,i.lazyWithPreload)(()=>n.e("306").then(n.bind(n,6089))),eJ=[{path:"/12.x/cookbook/advanced/network-requests",element:a.createElement(d),filePath:"12.x/cookbook/advanced/network-requests.md",preload:async()=>(await d.preload(),n.e("9056").then(n.bind(n,9155))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/basics/async-tests",element:a.createElement(r),filePath:"12.x/cookbook/basics/async-tests.md",preload:async()=>(await r.preload(),n.e("8136").then(n.bind(n,8619))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/basics/custom-render",element:a.createElement(o),filePath:"12.x/cookbook/basics/custom-render.md",preload:async()=>(await o.preload(),n.e("1054").then(n.bind(n,3149))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/",element:a.createElement(s),filePath:"12.x/cookbook/index.md",preload:async()=>(await s.preload(),n.e("1464").then(n.bind(n,8971))),lang:"en",version:"12.x"},{path:"/12.x/cookbook/state-management/jotai",element:a.createElement(c),filePath:"12.x/cookbook/state-management/jotai.md",preload:async()=>(await c.preload(),n.e("3117").then(n.bind(n,8828))),lang:"en",version:"12.x"},{path:"/12.x/docs/advanced/testing-env",element:a.createElement(h),filePath:"12.x/docs/advanced/testing-env.mdx",preload:async()=>(await h.preload(),n.e("759").then(n.bind(n,362))),lang:"en",version:"12.x"},{path:"/12.x/docs/advanced/understanding-act",element:a.createElement(l),filePath:"12.x/docs/advanced/understanding-act.mdx",preload:async()=>(await l.preload(),n.e("1354").then(n.bind(n,2017))),lang:"en",version:"12.x"},{path:"/12.x/docs/api",element:a.createElement(x),filePath:"12.x/docs/api.md",preload:async()=>(await x.preload(),n.e("5314").then(n.bind(n,5641))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/events/fire-event",element:a.createElement(p),filePath:"12.x/docs/api/events/fire-event.mdx",preload:async()=>(await p.preload(),n.e("9000").then(n.bind(n,9595))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/events/user-event",element:a.createElement(m),filePath:"12.x/docs/api/events/user-event.mdx",preload:async()=>(await m.preload(),n.e("5843").then(n.bind(n,8670))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/jest-matchers",element:a.createElement(u),filePath:"12.x/docs/api/jest-matchers.mdx",preload:async()=>(await u.preload(),n.e("5785").then(n.bind(n,5696))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/accessibility",element:a.createElement(g),filePath:"12.x/docs/api/misc/accessibility.mdx",preload:async()=>(await g.preload(),n.e("8894").then(n.bind(n,8285))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/async",element:a.createElement(v),filePath:"12.x/docs/api/misc/async.mdx",preload:async()=>(await v.preload(),n.e("818").then(n.bind(n,7241))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/config",element:a.createElement(y),filePath:"12.x/docs/api/misc/config.mdx",preload:async()=>(await y.preload(),n.e("6556").then(n.bind(n,6503))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/other",element:a.createElement(b),filePath:"12.x/docs/api/misc/other.mdx",preload:async()=>(await b.preload(),n.e("1784").then(n.bind(n,2363))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/misc/render-hook",element:a.createElement(I),filePath:"12.x/docs/api/misc/render-hook.mdx",preload:async()=>(await I.preload(),n.e("9621").then(n.bind(n,9337))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/queries",element:a.createElement(f),filePath:"12.x/docs/api/queries.mdx",preload:async()=>(await f.preload(),n.e("5299").then(n.bind(n,2318))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/render",element:a.createElement(k),filePath:"12.x/docs/api/render.mdx",preload:async()=>(await k.preload(),n.e("6961").then(n.bind(n,2984))),lang:"en",version:"12.x"},{path:"/12.x/docs/api/screen",element:a.createElement(P),filePath:"12.x/docs/api/screen.mdx",preload:async()=>(await P.preload(),n.e("3325").then(n.bind(n,9708))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/community-resources",element:a.createElement(w),filePath:"12.x/docs/guides/community-resources.mdx",preload:async()=>(await w.preload(),n.e("935").then(n.bind(n,9962))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/faq",element:a.createElement(q),filePath:"12.x/docs/guides/faq.mdx",preload:async()=>(await q.preload(),n.e("1494").then(n.bind(n,3557))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/how-to-query",element:a.createElement(E),filePath:"12.x/docs/guides/how-to-query.mdx",preload:async()=>(await E.preload(),n.e("2903").then(n.bind(n,6202))),lang:"en",version:"12.x"},{path:"/12.x/docs/guides/troubleshooting",element:a.createElement(T),filePath:"12.x/docs/guides/troubleshooting.mdx",preload:async()=>(await T.preload(),n.e("5860").then(n.bind(n,3727))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/jest-matchers",element:a.createElement(A),filePath:"12.x/docs/migration/jest-matchers.mdx",preload:async()=>(await A.preload(),n.e("1005").then(n.bind(n,6412))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v11",element:a.createElement(R),filePath:"12.x/docs/migration/previous/v11.mdx",preload:async()=>(await R.preload(),n.e("4055").then(n.bind(n,90))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v2",element:a.createElement(_),filePath:"12.x/docs/migration/previous/v2.mdx",preload:async()=>(await _.preload(),n.e("865").then(n.bind(n,9784))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v7",element:a.createElement(C),filePath:"12.x/docs/migration/previous/v7.mdx",preload:async()=>(await C.preload(),n.e("2346").then(n.bind(n,5313))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/previous/v9",element:a.createElement(S),filePath:"12.x/docs/migration/previous/v9.mdx",preload:async()=>(await S.preload(),n.e("2604").then(n.bind(n,4135))),lang:"en",version:"12.x"},{path:"/12.x/docs/migration/v12",element:a.createElement(B),filePath:"12.x/docs/migration/v12.mdx",preload:async()=>(await B.preload(),n.e("9574").then(n.bind(n,3653))),lang:"en",version:"12.x"},{path:"/12.x/docs/start/intro",element:a.createElement(W),filePath:"12.x/docs/start/intro.md",preload:async()=>(await W.preload(),n.e("7193").then(n.bind(n,4976))),lang:"en",version:"12.x"},{path:"/12.x/docs/start/quick-start",element:a.createElement(z),filePath:"12.x/docs/start/quick-start.mdx",preload:async()=>(await z.preload(),n.e("7817").then(n.bind(n,3840))),lang:"en",version:"12.x"},{path:"/12.x/",element:a.createElement(N),filePath:"12.x/index.md",preload:async()=>(await N.preload(),n.e("4566").then(n.bind(n,1925))),lang:"en",version:"12.x"},{path:"/cookbook/advanced/network-requests",element:a.createElement(j),filePath:"13.x/cookbook/advanced/network-requests.md",preload:async()=>(await j.preload(),n.e("2147").then(n.bind(n,7438))),lang:"en",version:"13.x"},{path:"/cookbook/basics/async-tests",element:a.createElement(O),filePath:"13.x/cookbook/basics/async-tests.md",preload:async()=>(await O.preload(),n.e("569").then(n.bind(n,4736))),lang:"en",version:"13.x"},{path:"/cookbook/basics/custom-render",element:a.createElement(M),filePath:"13.x/cookbook/basics/custom-render.md",preload:async()=>(await M.preload(),n.e("8247").then(n.bind(n,8986))),lang:"en",version:"13.x"},{path:"/cookbook/",element:a.createElement(F),filePath:"13.x/cookbook/index.md",preload:async()=>(await F.preload(),n.e("9643").then(n.bind(n,470))),lang:"en",version:"13.x"},{path:"/cookbook/state-management/jotai",element:a.createElement(U),filePath:"13.x/cookbook/state-management/jotai.md",preload:async()=>(await U.preload(),n.e("5184").then(n.bind(n,4899))),lang:"en",version:"13.x"},{path:"/docs/advanced/testing-env",element:a.createElement(H),filePath:"13.x/docs/advanced/testing-env.mdx",preload:async()=>(await H.preload(),n.e("2000").then(n.bind(n,8739))),lang:"en",version:"13.x"},{path:"/docs/advanced/third-party-integration",element:a.createElement(Q),filePath:"13.x/docs/advanced/third-party-integration.mdx",preload:async()=>(await Q.preload(),n.e("7013").then(n.bind(n,660))),lang:"en",version:"13.x"},{path:"/docs/advanced/understanding-act",element:a.createElement(L),filePath:"13.x/docs/advanced/understanding-act.mdx",preload:async()=>(await L.preload(),n.e("4037").then(n.bind(n,7812))),lang:"en",version:"13.x"},{path:"/docs/api",element:a.createElement(D),filePath:"13.x/docs/api.md",preload:async()=>(await D.preload(),n.e("9545").then(n.bind(n,7120))),lang:"en",version:"13.x"},{path:"/docs/api/events/fire-event",element:a.createElement(G),filePath:"13.x/docs/api/events/fire-event.mdx",preload:async()=>(await G.preload(),n.e("2145").then(n.bind(n,6392))),lang:"en",version:"13.x"},{path:"/docs/api/events/user-event",element:a.createElement(J),filePath:"13.x/docs/api/events/user-event.mdx",preload:async()=>(await J.preload(),n.e("2718").then(n.bind(n,9789))),lang:"en",version:"13.x"},{path:"/docs/api/jest-matchers",element:a.createElement(V),filePath:"13.x/docs/api/jest-matchers.mdx",preload:async()=>(await V.preload(),n.e("8792").then(n.bind(n,4603))),lang:"en",version:"13.x"},{path:"/docs/api/misc/accessibility",element:a.createElement(K),filePath:"13.x/docs/api/misc/accessibility.mdx",preload:async()=>(await K.preload(),n.e("273").then(n.bind(n,7224))),lang:"en",version:"13.x"},{path:"/docs/api/misc/async",element:a.createElement(Y),filePath:"13.x/docs/api/misc/async.mdx",preload:async()=>(await Y.preload(),n.e("7233").then(n.bind(n,8312))),lang:"en",version:"13.x"},{path:"/docs/api/misc/config",element:a.createElement(Z),filePath:"13.x/docs/api/misc/config.mdx",preload:async()=>(await Z.preload(),n.e("725").then(n.bind(n,5412))),lang:"en",version:"13.x"},{path:"/docs/api/misc/other",element:a.createElement(X),filePath:"13.x/docs/api/misc/other.mdx",preload:async()=>(await X.preload(),n.e("3583").then(n.bind(n,8914))),lang:"en",version:"13.x"},{path:"/docs/api/misc/render-hook",element:a.createElement($),filePath:"13.x/docs/api/misc/render-hook.mdx",preload:async()=>(await $.preload(),n.e("477").then(n.bind(n,9628))),lang:"en",version:"13.x"},{path:"/docs/api/queries",element:a.createElement(ee),filePath:"13.x/docs/api/queries.mdx",preload:async()=>(await ee.preload(),n.e("6702").then(n.bind(n,9133))),lang:"en",version:"13.x"},{path:"/docs/api/render",element:a.createElement(et),filePath:"13.x/docs/api/render.mdx",preload:async()=>(await et.preload(),n.e("1918").then(n.bind(n,7821))),lang:"en",version:"13.x"},{path:"/docs/api/screen",element:a.createElement(en),filePath:"13.x/docs/api/screen.mdx",preload:async()=>(await en.preload(),n.e("9790").then(n.bind(n,1325))),lang:"en",version:"13.x"},{path:"/docs/guides/community-resources",element:a.createElement(ea),filePath:"13.x/docs/guides/community-resources.mdx",preload:async()=>(await ea.preload(),n.e("2232").then(n.bind(n,8155))),lang:"en",version:"13.x"},{path:"/docs/guides/faq",element:a.createElement(ei),filePath:"13.x/docs/guides/faq.mdx",preload:async()=>(await ei.preload(),n.e("41").then(n.bind(n,6560))),lang:"en",version:"13.x"},{path:"/docs/guides/how-to-query",element:a.createElement(ed),filePath:"13.x/docs/guides/how-to-query.mdx",preload:async()=>(await ed.preload(),n.e("5422").then(n.bind(n,8781))),lang:"en",version:"13.x"},{path:"/docs/guides/react-19",element:a.createElement(er),filePath:"13.x/docs/guides/react-19.mdx",preload:async()=>(await er.preload(),n.e("2839").then(n.bind(n,6746))),lang:"en",version:"13.x"},{path:"/docs/guides/troubleshooting",element:a.createElement(eo),filePath:"13.x/docs/guides/troubleshooting.mdx",preload:async()=>(await eo.preload(),n.e("39").then(n.bind(n,1914))),lang:"en",version:"13.x"},{path:"/docs/migration/jest-matchers",element:a.createElement(es),filePath:"13.x/docs/migration/jest-matchers.mdx",preload:async()=>(await es.preload(),n.e("9652").then(n.bind(n,9279))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v11",element:a.createElement(ec),filePath:"13.x/docs/migration/previous/v11.mdx",preload:async()=>(await ec.preload(),n.e("4120").then(n.bind(n,8491))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v12",element:a.createElement(eh),filePath:"13.x/docs/migration/previous/v12.mdx",preload:async()=>(await eh.preload(),n.e("197").then(n.bind(n,8996))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v2",element:a.createElement(el),filePath:"13.x/docs/migration/previous/v2.mdx",preload:async()=>(await el.preload(),n.e("5792").then(n.bind(n,4099))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v7",element:a.createElement(ex),filePath:"13.x/docs/migration/previous/v7.mdx",preload:async()=>(await ex.preload(),n.e("5167").then(n.bind(n,5378))),lang:"en",version:"13.x"},{path:"/docs/migration/previous/v9",element:a.createElement(ep),filePath:"13.x/docs/migration/previous/v9.mdx",preload:async()=>(await ep.preload(),n.e("85").then(n.bind(n,7924))),lang:"en",version:"13.x"},{path:"/docs/migration/v13",element:a.createElement(em),filePath:"13.x/docs/migration/v13.mdx",preload:async()=>(await em.preload(),n.e("4844").then(n.bind(n,1079))),lang:"en",version:"13.x"},{path:"/docs/start/intro",element:a.createElement(eu),filePath:"13.x/docs/start/intro.md",preload:async()=>(await eu.preload(),n.e("2026").then(n.bind(n,2289))),lang:"en",version:"13.x"},{path:"/docs/start/quick-start",element:a.createElement(eg),filePath:"13.x/docs/start/quick-start.mdx",preload:async()=>(await eg.preload(),n.e("9400").then(n.bind(n,8891))),lang:"en",version:"13.x"},{path:"/",element:a.createElement(ev),filePath:"13.x/index.md",preload:async()=>(await ev.preload(),n.e("7783").then(n.bind(n,6954))),lang:"en",version:"13.x"},{path:"/14.x/cookbook/advanced/network-requests",element:a.createElement(ey),filePath:"14.x/cookbook/advanced/network-requests.md",preload:async()=>(await ey.preload(),n.e("8158").then(n.bind(n,2381))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/basics/async-events",element:a.createElement(eb),filePath:"14.x/cookbook/basics/async-events.md",preload:async()=>(await eb.preload(),n.e("1100").then(n.bind(n,3143))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/basics/custom-render",element:a.createElement(eI),filePath:"14.x/cookbook/basics/custom-render.md",preload:async()=>(await eI.preload(),n.e("6924").then(n.bind(n,7831))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/",element:a.createElement(ef),filePath:"14.x/cookbook/index.md",preload:async()=>(await ef.preload(),n.e("9610").then(n.bind(n,529))),lang:"en",version:"14.x"},{path:"/14.x/cookbook/state-management/jotai",element:a.createElement(ek),filePath:"14.x/cookbook/state-management/jotai.md",preload:async()=>(await ek.preload(),n.e("6531").then(n.bind(n,7166))),lang:"en",version:"14.x"},{path:"/14.x/docs/advanced/testing-env",element:a.createElement(eP),filePath:"14.x/docs/advanced/testing-env.mdx",preload:async()=>(await eP.preload(),n.e("8653").then(n.bind(n,764))),lang:"en",version:"14.x"},{path:"/14.x/docs/advanced/third-party-integration",element:a.createElement(ew),filePath:"14.x/docs/advanced/third-party-integration.mdx",preload:async()=>(await ew.preload(),n.e("6112").then(n.bind(n,5059))),lang:"en",version:"14.x"},{path:"/14.x/docs/advanced/understanding-act",element:a.createElement(eq),filePath:"14.x/docs/advanced/understanding-act.mdx",preload:async()=>(await eq.preload(),n.e("4576").then(n.bind(n,1779))),lang:"en",version:"14.x"},{path:"/14.x/docs/api",element:a.createElement(eE),filePath:"14.x/docs/api.md",preload:async()=>(await eE.preload(),n.e("2324").then(n.bind(n,6911))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/events/fire-event",element:a.createElement(eT),filePath:"14.x/docs/api/events/fire-event.mdx",preload:async()=>(await eT.preload(),n.e("3170").then(n.bind(n,7209))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/events/user-event",element:a.createElement(eA),filePath:"14.x/docs/api/events/user-event.mdx",preload:async()=>(await eA.preload(),n.e("4293").then(n.bind(n,1108))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/jest-matchers",element:a.createElement(eR),filePath:"14.x/docs/api/jest-matchers.mdx",preload:async()=>(await eR.preload(),n.e("3711").then(n.bind(n,6498))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/accessibility",element:a.createElement(e_),filePath:"14.x/docs/api/misc/accessibility.mdx",preload:async()=>(await e_.preload(),n.e("6036").then(n.bind(n,2783))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/async",element:a.createElement(eC),filePath:"14.x/docs/api/misc/async.mdx",preload:async()=>(await eC.preload(),n.e("48").then(n.bind(n,579))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/config",element:a.createElement(eS),filePath:"14.x/docs/api/misc/config.mdx",preload:async()=>(await eS.preload(),n.e("4838").then(n.bind(n,6645))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/other",element:a.createElement(eB),filePath:"14.x/docs/api/misc/other.mdx",preload:async()=>(await eB.preload(),n.e("2").then(n.bind(n,5961))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/misc/render-hook",element:a.createElement(eW),filePath:"14.x/docs/api/misc/render-hook.mdx",preload:async()=>(await eW.preload(),n.e("212").then(n.bind(n,2047))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/queries",element:a.createElement(ez),filePath:"14.x/docs/api/queries.mdx",preload:async()=>(await ez.preload(),n.e("3869").then(n.bind(n,1020))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/render",element:a.createElement(eN),filePath:"14.x/docs/api/render.mdx",preload:async()=>(await eN.preload(),n.e("4939").then(n.bind(n,9366))),lang:"en",version:"14.x"},{path:"/14.x/docs/api/screen",element:a.createElement(ej),filePath:"14.x/docs/api/screen.mdx",preload:async()=>(await ej.preload(),n.e("1035").then(n.bind(n,7478))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/community-resources",element:a.createElement(eO),filePath:"14.x/docs/guides/community-resources.mdx",preload:async()=>(await eO.preload(),n.e("841").then(n.bind(n,672))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/faq",element:a.createElement(eM),filePath:"14.x/docs/guides/faq.mdx",preload:async()=>(await eM.preload(),n.e("968").then(n.bind(n,9675))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/how-to-query",element:a.createElement(eF),filePath:"14.x/docs/guides/how-to-query.mdx",preload:async()=>(await eF.preload(),n.e("9705").then(n.bind(n,816))),lang:"en",version:"14.x"},{path:"/14.x/docs/guides/troubleshooting",element:a.createElement(eU),filePath:"14.x/docs/guides/troubleshooting.mdx",preload:async()=>(await eU.preload(),n.e("2002").then(n.bind(n,4921))),lang:"en",version:"14.x"},{path:"/14.x/docs/start/intro",element:a.createElement(eH),filePath:"14.x/docs/start/intro.md",preload:async()=>(await eH.preload(),n.e("1523").then(n.bind(n,9022))),lang:"en",version:"14.x"},{path:"/14.x/docs/start/migration-v14",element:a.createElement(eQ),filePath:"14.x/docs/start/migration-v14.mdx",preload:async()=>(await eQ.preload(),n.e("79").then(n.bind(n,8898))),lang:"en",version:"14.x"},{path:"/14.x/docs/start/quick-start",element:a.createElement(eL),filePath:"14.x/docs/start/quick-start.mdx",preload:async()=>(await eL.preload(),n.e("7963").then(n.bind(n,4438))),lang:"en",version:"14.x"},{path:"/14.x/",element:a.createElement(eD),filePath:"14.x/index.md",preload:async()=>(await eD.preload(),n.e("3736").then(n.bind(n,536))),lang:"en",version:"14.x"},{path:"/404",element:a.createElement(eG),filePath:"404.mdx",preload:async()=>(await eG.preload(),n.e("306").then(n.bind(n,6089))),lang:"en",version:"13.x"}]},6189(e,t,n){n.d(t,{A:()=>a});let a={base:"/react-native-testing-library/",title:"React Native Testing Library",description:"Helps you to write better tests with less effort.",icon:"/logo-light.png",route:{cleanUrls:!0},themeConfig:{enableContentAnimation:!0,enableScrollToTop:!0,outlineTitle:"Contents",footer:{message:"Copyright \xa9 2026 Callstack Open Source"},socialLinks:[{icon:"github",mode:"link",content:"https://github.com/callstack/react-native-testing-library"}],nav:[{text:"Docs",link:"/docs/start/intro.html",activeMatch:"^/docs/"},{text:"Cookbook",link:"/cookbook/index.html",activeMatch:"^/cookbook/"},{text:"Examples",link:"https://github.com/callstack/react-native-testing-library/tree/main/examples"}],sidebar:{"/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/docs/start/intro.html"},{text:"Quick Start",link:"/docs/start/quick-start.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/docs/api/render.html"},{text:"Screen object",link:"/docs/api/screen.html"},{text:"Queries",link:"/docs/api/queries.html"},{text:"Jest Matchers",link:"/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/docs/api/events/fire-event.html"},{text:"User Event",link:"/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/docs/api/misc/async.html"},{text:"Config",link:"/docs/api/misc/config.html"},{text:"Other",link:"/docs/api/misc/other.html"},{text:"Render Hook",link:"/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/docs/guides/how-to-query.html"},{text:"React 19",link:"/docs/guides/react-19.html"},{text:"Troubleshooting",link:"/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/docs/guides/faq.html"},{text:"Community Resources",link:"/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/docs/advanced/testing-env.html"},{text:"Third-party Integration",link:"/docs/advanced/third-party-integration.html"},{text:"Understanding Act",link:"/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0},{text:"Migration Guides",collapsed:!0,items:[{text:"v13 Migration",link:"/docs/migration/v13.html"},{text:"Jest Matchers",link:"/docs/migration/jest-matchers.html"},{text:"Previous versions",collapsed:!0,items:[{text:"v12",link:"/docs/migration/previous/v12.html"},{text:"v11",link:"/docs/migration/previous/v11.html"},{text:"v9",link:"/docs/migration/previous/v9.html"},{text:"v7",link:"/docs/migration/previous/v7.html"},{text:"v2",link:"/docs/migration/previous/v2.html"}],collapsible:!0}],collapsible:!0}],"/cookbook/":[{text:"Cookbook",link:"/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Tests",link:"/cookbook/basics/async-tests.html"},{text:"Custom Render",link:"/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}],"/12.x/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/12.x/docs/start/intro.html"},{text:"Quick Start",link:"/12.x/docs/start/quick-start.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/12.x/docs/api/render.html"},{text:"Screen object",link:"/12.x/docs/api/screen.html"},{text:"Queries",link:"/12.x/docs/api/queries.html"},{text:"Jest Matchers",link:"/12.x/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/12.x/docs/api/events/fire-event.html"},{text:"User Event",link:"/12.x/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/12.x/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/12.x/docs/api/misc/async.html"},{text:"Config",link:"/12.x/docs/api/misc/config.html"},{text:"Other",link:"/12.x/docs/api/misc/other.html"},{text:"Render Hook",link:"/12.x/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/12.x/docs/guides/how-to-query.html"},{text:"Troubleshooting",link:"/12.x/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/12.x/docs/guides/faq.html"},{text:"Community Resources",link:"/12.x/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/12.x/docs/advanced/testing-env.html"},{text:"Understanding Act",link:"/12.x/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0},{text:"Migration Guides",collapsed:!0,items:[{text:"v12 Migration",link:"/12.x/docs/migration/v12.html"},{text:"Jest Matchers",link:"/12.x/docs/migration/jest-matchers.html"},{text:"Previous versions",collapsed:!0,items:[{text:"v11",link:"/12.x/docs/migration/previous/v11.html"},{text:"v9",link:"/12.x/docs/migration/previous/v9.html"},{text:"v7",link:"/12.x/docs/migration/previous/v7.html"},{text:"v2",link:"/12.x/docs/migration/previous/v2.html"}],collapsible:!0}],collapsible:!0}],"/12.x/cookbook/":[{text:"Cookbook",link:"/12.x/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Tests",link:"/12.x/cookbook/basics/async-tests.html"},{text:"Custom Render",link:"/12.x/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/12.x/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/12.x/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}],"/13.x/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/13.x/docs/start/intro.html"},{text:"Quick Start",link:"/13.x/docs/start/quick-start.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/13.x/docs/api/render.html"},{text:"Screen object",link:"/13.x/docs/api/screen.html"},{text:"Queries",link:"/13.x/docs/api/queries.html"},{text:"Jest Matchers",link:"/13.x/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/13.x/docs/api/events/fire-event.html"},{text:"User Event",link:"/13.x/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/13.x/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/13.x/docs/api/misc/async.html"},{text:"Config",link:"/13.x/docs/api/misc/config.html"},{text:"Other",link:"/13.x/docs/api/misc/other.html"},{text:"Render Hook",link:"/13.x/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/13.x/docs/guides/how-to-query.html"},{text:"React 19",link:"/13.x/docs/guides/react-19.html"},{text:"Troubleshooting",link:"/13.x/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/13.x/docs/guides/faq.html"},{text:"Community Resources",link:"/13.x/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/13.x/docs/advanced/testing-env.html"},{text:"Third-party Integration",link:"/13.x/docs/advanced/third-party-integration.html"},{text:"Understanding Act",link:"/13.x/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0},{text:"Migration Guides",collapsed:!0,items:[{text:"v13 Migration",link:"/13.x/docs/migration/v13.html"},{text:"Jest Matchers",link:"/13.x/docs/migration/jest-matchers.html"},{text:"Previous versions",collapsed:!0,items:[{text:"v12",link:"/13.x/docs/migration/previous/v12.html"},{text:"v11",link:"/13.x/docs/migration/previous/v11.html"},{text:"v9",link:"/13.x/docs/migration/previous/v9.html"},{text:"v7",link:"/13.x/docs/migration/previous/v7.html"},{text:"v2",link:"/13.x/docs/migration/previous/v2.html"}],collapsible:!0}],collapsible:!0}],"/13.x/cookbook/":[{text:"Cookbook",link:"/13.x/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Tests",link:"/13.x/cookbook/basics/async-tests.html"},{text:"Custom Render",link:"/13.x/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/13.x/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/13.x/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}],"/14.x/docs/":[{text:"Getting started",items:[{text:"Introduction",link:"/14.x/docs/start/intro.html"},{text:"Quick Start",link:"/14.x/docs/start/quick-start.html"},{text:"v14 Migration",link:"/14.x/docs/start/migration-v14.html"}],collapsed:!1,collapsible:!0},{text:"API reference",items:[{text:"Render function",link:"/14.x/docs/api/render.html"},{text:"Screen object",link:"/14.x/docs/api/screen.html"},{text:"Queries",link:"/14.x/docs/api/queries.html"},{text:"Jest Matchers",link:"/14.x/docs/api/jest-matchers.html"},{text:"Triggering events",items:[{text:"Fire Event",link:"/14.x/docs/api/events/fire-event.html"},{text:"User Event",link:"/14.x/docs/api/events/user-event.html"}],collapsed:!1,collapsible:!0},{text:"Miscellaneous",items:[{text:"Accessibility",link:"/14.x/docs/api/misc/accessibility.html"},{text:"Async utilities",link:"/14.x/docs/api/misc/async.html"},{text:"Config",link:"/14.x/docs/api/misc/config.html"},{text:"Other",link:"/14.x/docs/api/misc/other.html"},{text:"Render Hook",link:"/14.x/docs/api/misc/render-hook.html"}],collapsed:!1,collapsible:!0}],collapsed:!1,collapsible:!0},{text:"Guides",items:[{text:"How to Query",link:"/14.x/docs/guides/how-to-query.html"},{text:"Troubleshooting",link:"/14.x/docs/guides/troubleshooting.html"},{text:"FAQ",link:"/14.x/docs/guides/faq.html"},{text:"Community Resources",link:"/14.x/docs/guides/community-resources.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Guides",items:[{text:"Testing Environment",link:"/14.x/docs/advanced/testing-env.html"},{text:"Third-party Integration",link:"/14.x/docs/advanced/third-party-integration.html"},{text:"Understanding Act",link:"/14.x/docs/advanced/understanding-act.html"}],collapsed:!1,collapsible:!0}],"/14.x/cookbook/":[{text:"Cookbook",link:"/14.x/cookbook/index.html"},{text:"Basic Recipes",items:[{text:"Async Events",link:"/14.x/cookbook/basics/async-events.html"},{text:"Custom Render",link:"/14.x/cookbook/basics/custom-render.html"}],collapsed:!1,collapsible:!0},{text:"Advanced Recipes",items:[{text:"Network Requests",link:"/14.x/cookbook/advanced/network-requests.html"}],collapsed:!1,collapsible:!0},{text:"State Management Recipes",items:[{text:"Jotai",link:"/14.x/cookbook/state-management/jotai.html"}],collapsed:!1,collapsible:!0}]}},lang:"en",locales:[],logo:{light:"/img/logo-light.svg",dark:"/img/logo-dark.svg"},logoText:"",multiVersion:{default:"13.x",versions:["12.x","13.x","14.x"]},search:{versioned:!0},markdown:{showLineNumbers:!1,defaultWrapCode:!1,shiki:{}}}},8703(e,t,n){n.d(t,{Ab:()=>d.Ab,As:()=>d.As,Aw:()=>d.Aw,Bx:()=>d.Bx,C0:()=>d.C0,D7:()=>d.D7,Eg:()=>d.Eg,Ex:()=>d.Ex,Fw:()=>d.Fw,G5:()=>d.G5,GD:()=>d.GD,Ge:()=>d.Ge,HF:()=>d.HF,J6:()=>d.J6,K6:()=>d.K6,KS:()=>d.KS,Lp:()=>d.Lp,ML:()=>d.ML,Mk:()=>d.Mk,NG:()=>d.NG,N_:()=>d.N_,PE:()=>c,Pl:()=>d.Pl,Pq:()=>d.Pq,QB:()=>d.QB,R3:()=>d.R3,RG:()=>d.RG,RP:()=>d.RP,Rc:()=>d.Rc,UC:()=>d.UC,UQ:()=>d.UQ,X6:()=>d.X6,YW:()=>d.YW,ZZ:()=>d.ZZ,a9:()=>d.a9,bL:()=>d.bL,bS:()=>d.bS,bz:()=>d.bz,co:()=>d.co,dY:()=>d.dY,dd:()=>d.dd,fS:()=>d.fS,fx:()=>d.fx,g6:()=>d.g6,gz:()=>d.gz,hG:()=>d.hG,hI:()=>d.hI,hM:()=>d.hM,i6:()=>d.i6,kC:()=>d.kC,kv:()=>d.kv,lv:()=>d.lv,mI:()=>d.mI,n6:()=>d.n6,nD:()=>d.nD,nl:()=>d.nl,oz:()=>d.oz,so:()=>d.so,tU:()=>d.tU,uO:()=>d.uO,uo:()=>d.uo,v7:()=>d.v7,vN:()=>d.vN,vd:()=>d.vd,vj:()=>d.vj,vw:()=>d.vw,x5:()=>d.x5,yL:()=>d.yL,zE:()=>d.zE,zV:()=>d.zV,zq:()=>d.zq});var a=n(4848),i=n(3433),d=n(2230);let r=()=>(0,a.jsx)("div",{className:"pre-release-banner",children:(0,a.jsxs)("span",{children:["You are viewing documentation for ",(0,a.jsx)("strong",{children:"v14 alpha"}),". This version is under active development and APIs may change."]})}),o=e=>{let{version:t}=e;return(0,a.jsxs)("div",{className:"old-version-banner",children:[(0,a.jsxs)("span",{children:["You're viewing the documentation for ",(0,a.jsx)("strong",{children:t}),". Current latest version is"," ",(0,a.jsx)("strong",{children:"13.x"}),"."]}),(0,a.jsxs)(d.N_,{href:"/react-native-testing-library/docs/start/intro",className:"old-version-banner-link",children:["View latest version ",(0,a.jsx)("strong",{children:"here"}),"."]})]})},s=()=>{let{pathname:e}=(0,i.zy)();return e.includes("/14.x/")?(0,a.jsx)(r,{}):e.includes("/12.x/")?(0,a.jsx)(o,{version:"12.x"}):null},c=()=>(0,a.jsx)(d.PE,{beforeNav:(0,a.jsx)(s,{})})}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return o[e].call(n.exports,n,n.exports,c),n.exports}c.m=o,c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(n,a){if(1&a&&(n=this(n)),8&a||"object"==typeof n&&n&&(4&a&&n.__esModule||16&a&&"function"==typeof n.then))return n;var i=Object.create(null);c.r(i);var d={};e=e||[null,t({}),t([]),t(t)];for(var r=2&a&&n;("object"==typeof r||"function"==typeof r)&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach(e=>{d[e]=()=>n[e]});return d.default=()=>n,c.d(i,d),i},c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,n)=>(c.f[n](e,t),t),[])),c.u=e=>"static/js/async/"+e+"."+({1005:"e7db43d9",1035:"761be55a",1054:"14a581a5",1100:"93b932f9",1354:"ded53d31",1464:"08886ef8",1494:"801e4ca8",1523:"89361b3b",1784:"0d4b6859",1918:"99a4e067",197:"71975f7b",2:"469fe384",2e3:"7283e7df",2002:"a80a0885",2026:"d46767fc",212:"8d92b37d",2145:"6c15b372",2147:"768a917f",2232:"2c1947b6",2324:"2dd56bda",2346:"a4b12c1a",2604:"259634e5",2718:"350af98b",273:"4e1a6862",2839:"4a719e33",2903:"7fe61676",306:"17d9be9f",3117:"fa1c12e3",3170:"2058956a",3325:"35d98de0",3435:"15bc8d36",3583:"05ada047",3711:"a80068b0",3736:"f43639cb",3869:"84110079",39:"e1903b17",4037:"621c69b7",4055:"ee4f6221",41:"5dfb2a83",4120:"eaa95d56",4293:"3b36e55f",4566:"ce79c702",4576:"4cc40d01",477:"4ecd548f",48:"0dd1cb87",4838:"bf397646",4844:"a7cb2d58",4939:"1a54ae87",5167:"e0be43c2",5184:"d8542b44",5299:"bf353d7f",5314:"97d682bd",5422:"0edbaf21",569:"5c038a97",5785:"fb30ef4d",5792:"2d73126a",5843:"12c53907",5860:"4127d81e",6036:"dd337bbf",6112:"c38cea96",6531:"70fbcd9f",6556:"1f4b4d68",6702:"93ab99f7",6924:"47e44a4f",6961:"45e8882c",7013:"0a1dc9a8",7193:"1900c2c7",7233:"984dfad8",725:"3ec91f38",759:"dc3f62a2",7783:"17ebf941",7817:"10b93e26",79:"0fed2856",7963:"da19b779",8136:"79e7c24c",8158:"e9bcf3c8",818:"592cdb4b",8247:"9397a58d",841:"6712e646",85:"9f5b0d8a",865:"564ea9fe",8653:"23a82b5b",8792:"4f0edaa3",8894:"975127be",9e3:"21b0a1dc",9056:"1b2c4f3c",935:"78911e2f",9400:"32d63d7d",9545:"84f1859d",9574:"39603c2b",9610:"20856484",9621:"038fc3f0",9643:"0fa01add",9652:"bcf343c5",968:"a715d79e",9705:"480c4c3c",9790:"a6f539b5"})[e]+".js",c.miniCssF=e=>""+e+".css",c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},c.l=function(e,t,a,i){if(n[e])return void n[e].push(t);if(void 0!==a)for(var d,r,o=document.getElementsByTagName("script"),s=0;s{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a=[],c.O=(e,t,n,i)=>{if(t){i=i||0;for(var d=a.length;d>0&&a[d-1][2]>i;d--)a[d]=a[d-1];a[d]=[t,n,i];return}for(var r=1/0,d=0;d=i)&&Object.keys(c.O).every(e=>c.O[e](t[s]))?t.splice(s--,1):(o=!1,in=i[e]=[t,a]);t.push(n[2]=a);var d=c.p+c.u(e),r=Error();c.l(d,function(t){if(c.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.src;r.message="Loading chunk "+e+" failed.\n("+a+": "+d+")",r.name="ChunkLoadError",r.type=a,r.request=d,n[1](r)}},"chunk-"+e,e)}},c.O.j=e=>0===i[e],d=(e,t)=>{var n,a,[d,r,o]=t,s=0;if(d.some(e=>0!==i[e])){for(n in r)c.o(r,n)&&(c.m[n]=r[n]);if(o)var h=o(c)}for(e&&e(t);sc(9361)),c.O(void 0,["4014","9783","9535","8712"],()=>c(1457)),c.O(void 0,["4014","9783","9535","8712"],()=>c(8703));var h=c.O(void 0,["4014","9783","9535","8712"],()=>c(7220));h=c.O(h)})(); \ No newline at end of file