File tree 8 files changed +12
-12
lines changed
8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ Supported and used by [Rally Health](https://www.rallyhealth.com/careers-home).
142
142
143
143
<!-- badges -->
144
144
145
- [ version-badge ] : https://img.shields.io/npm/v/react-native- testing-library.svg?style=flat-square
146
- [ package ] : https://www.npmjs.com/package/react-native- testing-library
145
+ [ version-badge ] : https://img.shields.io/npm/v/@ testing-library/react-native .svg?style=flat-square
146
+ [ package ] : https://www.npmjs.com/package/@ testing-library/react-native
147
147
[ prs-welcome-badge ] : https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
148
148
[ prs-welcome ] : http://makeapullrequest.com
149
149
[ chat-badge ] : https://img.shields.io/discord/426714625279524876.svg?style=flat-square&colorB=758ED3
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-navigation-example" ,
3
- "description" : " Testing react-navigation with react-native-testing-library " ,
3
+ "description" : " Testing React Navigation with RNTL " ,
4
4
"version" : " 0.0.1" ,
5
5
"private" : true ,
6
6
"scripts" : {
24
24
"babel-jest" : " ^25.4.0" ,
25
25
"jest" : " ^25.4.0" ,
26
26
"metro-react-native-babel-preset" : " ^0.59.0" ,
27
- "react-native- testing-library" : " ^1.13 .0" ,
27
+ "@ testing-library/react-native " : " ^7.0.0-rc .0" ,
28
28
"react-test-renderer" : " ^16.13.1"
29
29
}
30
30
}
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { NavigationContainer } from '@react-navigation/native' ;
3
- import { render , fireEvent } from 'react-native- testing-library' ;
3
+ import { render , fireEvent } from '@ testing-library/react-native ' ;
4
4
5
5
import AppNavigator from '../AppNavigator' ;
6
6
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Provider } from 'react-redux' ;
3
- import { fireEvent , render } from 'react-native- testing-library' ;
3
+ import { fireEvent , render } from '@ testing-library/react-native ' ;
4
4
import configureStore from '../store' ;
5
5
import AddTodo from './AddTodo' ;
6
6
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Provider } from 'react-redux' ;
3
- import { fireEvent , render } from 'react-native- testing-library' ;
3
+ import { fireEvent , render } from '@ testing-library/react-native ' ;
4
4
import configureStore from '../store' ;
5
5
import TodoList from './TodoList' ;
6
6
Original file line number Diff line number Diff line change 16
16
"babel-jest" : " ~25.2.6" ,
17
17
"jest" : " ~25.2.6" ,
18
18
"metro-react-native-babel-preset" : " ^0.59.0" ,
19
- "react-native- testing-library" : " ^1.13.2 " ,
19
+ "@ testing-library/react-native " : " ^7.0.0-rc.0 " ,
20
20
"react-test-renderer" : " ~16.9.0"
21
21
},
22
22
"private" : true ,
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " react-native- testing-library" ,
3
- "version" : " 2.2 .0" ,
4
- "description" : " Simple React Native testing utilities helping you write better tests with less effort " ,
2
+ "name" : " @ testing-library/react-native " ,
3
+ "version" : " 7.0.0-rc .0" ,
4
+ "description" : " Simple and complete React Native testing utilities that encourage good testing practices. " ,
5
5
"main" : " build/index.js" ,
6
6
"typings" : " ./typings/index.d.ts" ,
7
7
"repository" : {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const siteConfig = {
7
7
url : 'https://callstack.github.io' , // Your website URL
8
8
baseUrl : '/react-native-testing-library/' , // Base URL for your project
9
9
// Used for publishing and more
10
- projectName : 'react-native- testing-library' ,
10
+ projectName : '@ testing-library/react-native ' ,
11
11
organizationName : 'callstack' ,
12
12
favicon : 'img/owl.png' ,
13
13
You can’t perform that action at this time.
0 commit comments