You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -66,13 +66,13 @@ As you may have noticed, it's not tied to React Native at all – you can safely
66
66
67
67
## API / Usage
68
68
69
-
The [public API](docs/API.md) of `react-native-testing-library` is focused around these essential methods:
69
+
The [public API](https://callstack.github.io/react-native-testing-library/docs/api) of `react-native-testing-library` is focused around these essential methods:
70
70
71
-
-[`render`](docs/API.md#render) – deeply renders given React element and returns helpers to query the output components.
72
-
-[`shallow`](docs/API.md#shallow) – shallowly renders given React component. It doesn't return any helpers to query the output.
73
-
-[`fireEvent`](docs/API.md#fireevent) - invokes named event handler on the element.
74
-
-[`waitForElement`](docs/API.md#waitforelement) - waits for non-deterministic periods of time until your element appears or times out.
75
-
-[`flushMicrotasksQueue`](docs/API.md#flushmicrotasksqueue) - waits for microtasks queue to flush.
71
+
-[`render`](https://callstack.github.io/react-native-testing-library/docs/api#render) – deeply renders given React element and returns helpers to query the output components.
72
+
-[`shallow`](https://callstack.github.io/react-native-testing-library/docs/api#shallow) – shallowly renders given React component. It doesn't return any helpers to query the output.
73
+
-[`fireEvent`](https://callstack.github.io/react-native-testing-library/docs/api#fireevent) - invokes named event handler on the element.
74
+
-[`waitForElement`](https://callstack.github.io/react-native-testing-library/docs/api#waitforelement) - waits for non-deterministic periods of time until your element appears or times out.
75
+
-[`flushMicrotasksQueue`](https://callstack.github.io/react-native-testing-library/docs/api#flushmicrotasksqueue) - waits for microtasks queue to flush.
76
76
77
77
**Note to users who are more familiar with `react-testing-library`:** This API does not expose `cleanup` because it doesn't interact with the DOM. There's nothing to clean up.
0 commit comments