mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
docs: broken understanding act function guide link in troubleshooting guide (#1773)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user