docs: broken understanding act function guide link in troubleshooting guide (#1773)

This commit is contained in:
Khushal Agarwal
2025-07-14 13:12:45 +05:30
committed by GitHub
parent 069de18583
commit b948dced97
2 changed files with 2 additions and 2 deletions
@@ -73,7 +73,7 @@ When writing tests you may encounter warnings connected with `act()` function. T
- sync `act()` warning - `Warning: An update to Component inside a test was not wrapped in act(...)`
- async `act()` warning - `Warning: You called act(async () => ...) without await`
You can read more about `act()` function in our [understanding `act` function guide](https://callstack.github.io/react-native-testing-library/docs/understanding-act).
You can read more about `act()` function in our [understanding `act` function guide](docs/advanced/understanding-act).
Normally, you should not encounter sync `act()` warnings, but if that happens this probably indicate an issue with your test and should be investigated.
@@ -73,7 +73,7 @@ When writing tests you may encounter warnings connected with `act()` function. T
- sync `act()` warning - `Warning: An update to Component inside a test was not wrapped in act(...)`
- async `act()` warning - `Warning: You called act(async () => ...) without await`
You can read more about `act()` function in our [understanding `act` function guide](https://callstack.github.io/react-native-testing-library/docs/understanding-act).
You can read more about `act()` function in our [understanding `act` function guide](docs/advanced/understanding-act).
Normally, you should not encounter sync `act()` warnings, but if that happens this probably indicate an issue with your test and should be investigated.