Skip to content

Commit 4c20bfb

Browse files
committed
chore: update link
1 parent 44a5ee7 commit 4c20bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queries/make-queries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function formatErrorMessage(message: string, printElementTree: boolean) {
8888
}
8989

9090
if (screen.isDetached) {
91-
return `${message}\n\nScreen is no longer attached. Check your test for "findBy*" or "waitFor" calls that have not been awaited.\n\nWe recommend enabling Testing Library ESLint plugin to catch these issues at build time:\nhttps://callstack.github.io/react-native-testing-library/docs/eslint-plugin-testing-library`;
91+
return `${message}\n\nScreen is no longer attached. Check your test for "findBy*" or "waitFor" calls that have not been awaited.\n\nWe recommend enabling "eslint-plugin-testing-library" to catch these issues at build time:\nhttps://callstack.github.io/react-native-testing-library/docs/getting-started#eslint-plugin`;
9292
}
9393

9494
const json = screen.toJSON();

0 commit comments

Comments
 (0)