Closed sibelius closed 4 years ago
I think this is not related to this library itself.
The act warnning
is in react testing library
.
You can read this kentcdodds article
FYI, this repository is no longer responsible for this package. See the migration guide to v7.0 and check if it happens there.
react-native
orexpo
: react-nativereact
version: 16.11.0native-testing-library
version: 5.0.3jest-preset
: @testing-library/react-nativereact-native
version: 0.62.2node
version: 12this would be fixed on React 16.9.0, but it is still showing warnings on 16.11.0, related to this issue https://github.com/testing-library/native-testing-library/issues/25
this only happen when I have multiple
it
in the same test fileWhat you did:
tried to run all
it
tests of a single test fileWhat happened:
Reproduction:
the component that is warning is using useMemo and useFormik (formik package)
Problem description:
it only warns when multiple tests is running
Suggested solution:
create a failing test showing the issue and fix it
Can you help us fix this issue by submitting a pull request?
not sure, where should I start?