Skip to content

Commit f06232c

Browse files
committed
add
1 parent 5861eae commit f06232c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

versioned_docs/version-7.x/testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ If you're not using Jest, then you'll need to mock these modules according to th
7474

7575
We recommend using [React Native Testing Library](https://callstack.github.io/react-native-testing-library/) along with [`jest-native`](https://github.com/testing-library/jest-native) to write your tests.
7676

77-
We are going to write example tests illustrating the difference between navigate and push functions using Root Navigator defined below:
77+
We are going to write example tests illustrating the difference between `navigate` and `push` functions using Root Navigator defined below:
7878

7979
<Tabs groupId="example" queryString="example">
8080
<TabItem value="static" label="Static" default>
@@ -132,7 +132,7 @@ export const RootNavigator = () => {
132132
</TabItem>
133133
</Tabs>
134134

135-
Navigate function test example:
135+
`navigate` function test example:
136136

137137
<Tabs groupId="example" queryString="example">
138138
<TabItem value="static" label="Static" default>
@@ -176,7 +176,7 @@ test('navigates to settings screen twice', () => {
176176
</TabItem>
177177
</Tabs>
178178

179-
Push function test example:
179+
`push` function test example:
180180

181181
<Tabs groupId="example" queryString="example">
182182
<TabItem value="static" label="Static" default>

0 commit comments

Comments
 (0)