|
1 | 1 | <div align="center">
|
2 |
| - <h1>(React) Native Testing Library</h1> |
| 2 | + <h1>Native Testing Library</h1> |
3 | 3 |
|
4 | 4 | <a href="https://www.joypixels.com/emoji/1f433">
|
5 | 5 | <img
|
6 | 6 | height="80"
|
7 | 7 | width="80"
|
8 |
| - alt="goat" |
| 8 | + alt="whale" |
9 | 9 | src="https://github.com/raw/testing-library/native-testing-library/master/other/whale.png"
|
10 | 10 | />
|
11 | 11 | </a>
|
|
20 | 20 |
|
21 | 21 | [](https://travis-ci.org/testing-library/native-testing-library)
|
22 | 22 | [](https://codecov.io/github/testing-library/native-testing-library)
|
23 |
| -[](https://www.npmjs.com/package/native-testing-library) |
24 |
| -[](http://www.npmtrends.com/native-testing-library) |
25 |
| -[](https://github.com/testing-library/native-testing-library/blob/master/LICENSE) |
| 23 | +[](https://www.npmjs.com/package/@testing-library/react-native) |
| 24 | +[](http://www.npmtrends.com/@testing-library/react-native) |
| 25 | +[](https://github.com/testing-library/native-testing-library/blob/master/LICENSE) |
26 | 26 |
|
27 | 27 | [](#contributors)
|
28 | 28 | [](http://makeapullrequest.com)
|
@@ -67,7 +67,7 @@ still accounting for the differences in the platforms.
|
67 | 67 | ```javascript
|
68 | 68 | import React from 'react';
|
69 | 69 | import { Button, Text, TextInput, View } from 'react-native';
|
70 |
| -import { act, fireEvent, render, wait } from 'native-testing-library'; |
| 70 | +import { act, fireEvent, render, wait } from '@testing-library/react-native'; |
71 | 71 |
|
72 | 72 | function Example() {
|
73 | 73 | const [name, setUser] = React.useState('');
|
@@ -113,7 +113,7 @@ test('examples of some things', async () => {
|
113 | 113 | This module should be installed in your project's `devDependencies`:
|
114 | 114 |
|
115 | 115 | ```
|
116 |
| -npm install --save-dev native-testing-library |
| 116 | +npm install --save-dev @testing-library/react-native |
117 | 117 | ```
|
118 | 118 |
|
119 | 119 | You will need `react` and `react-native` installed as _dependencies_ in order to run this project.
|
|
0 commit comments