From f3969d07ff953fec674802e5e936a25dc7d2fca6 Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Tue, 23 Aug 2022 23:30:33 +0200 Subject: [PATCH] chore: update troubleshooting guide with typical error messages (#1073) --- website/docs/Troubleshooting.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/website/docs/Troubleshooting.md b/website/docs/Troubleshooting.md index 6916c47d..2647b664 100644 --- a/website/docs/Troubleshooting.md +++ b/website/docs/Troubleshooting.md @@ -16,10 +16,11 @@ React Native uses different versioning scheme from React, you can use [React Nat React Test Renderer usually has same major & minor version as React, as they are closely related and React Test Renderer is part of [React monorepo](https://github.com/facebook/react). -Related issues: -- [#1061](https://github.com/callstack/react-native-testing-library/issues/1061) -- [#938](https://github.com/callstack/react-native-testing-library/issues/938) -- [#920](https://github.com/callstack/react-native-testing-library/issues/920) +Related issues: [#1061](https://github.com/callstack/react-native-testing-library/issues/1061), [#938](https://github.com/callstack/react-native-testing-library/issues/938), [#920](https://github.com/callstack/react-native-testing-library/issues/920) + +Errors that might indicate that you are facing this issue: +- `TypeError: Cannot read property 'current' of undefined` when calling `render()` +- `TypeError: Cannot read property 'isBatchingLegacy' of undefined` when calling `render()` ## Example repository