Skip to content

Add option to change DEFAULT_TIMEOUT globally #953

Closed
@douglasjunior

Description

@douglasjunior

Describe the Feature

Add option to change default configuration (like DEFAULT_TIMEOUT) globally, like in "@testing-library/dom" https://testing-library.com/docs/dom-testing-library/api-configuration/

Possible Implementations

import {configure} from '@testing-library/react-native'

configure({
  asyncUtilTimeout: 5000,
  // etc...
})

Related Issues

testing-library/react-hooks-testing-library#812

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions