react-native-testing-library
react-native-testing-library copied to clipboard
Add option to change DEFAULT_TIMEOUT globally
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
https://github.com/testing-library/react-hooks-testing-library/issues/812