File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 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).
142142
143143<!-- badges -->
144144
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
147147[ prs-welcome-badge ] : https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
148148[ prs-welcome ] : http://makeapullrequest.com
149149[ chat-badge ] : https://img.shields.io/discord/426714625279524876.svg?style=flat-square&colorB=758ED3
Original file line number Diff line number Diff line change 11{
22 "name" : " react-navigation-example" ,
3- "description" : " Testing react-navigation with react-native-testing-library " ,
3+ "description" : " Testing React Navigation with RNTL " ,
44 "version" : " 0.0.1" ,
55 "private" : true ,
66 "scripts" : {
2424 "babel-jest" : " ^25.4.0" ,
2525 "jest" : " ^25.4.0" ,
2626 "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" ,
2828 "react-test-renderer" : " ^16.13.1"
2929 }
3030}
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { NavigationContainer } from '@react-navigation/native' ;
3- import { render , fireEvent } from 'react-native- testing-library' ;
3+ import { render , fireEvent } from '@ testing-library/react-native ' ;
44
55import AppNavigator from '../AppNavigator' ;
66
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Provider } from 'react-redux' ;
3- import { fireEvent , render } from 'react-native- testing-library' ;
3+ import { fireEvent , render } from '@ testing-library/react-native ' ;
44import configureStore from '../store' ;
55import AddTodo from './AddTodo' ;
66
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Provider } from 'react-redux' ;
3- import { fireEvent , render } from 'react-native- testing-library' ;
3+ import { fireEvent , render } from '@ testing-library/react-native ' ;
44import configureStore from '../store' ;
55import TodoList from './TodoList' ;
66
Original file line number Diff line number Diff line change 1616 "babel-jest" : " ~25.2.6" ,
1717 "jest" : " ~25.2.6" ,
1818 "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 " ,
2020 "react-test-renderer" : " ~16.9.0"
2121 },
2222 "private" : true ,
Original file line number Diff line number Diff line change 11{
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. " ,
55 "main" : " build/index.js" ,
66 "typings" : " ./typings/index.d.ts" ,
77 "repository" : {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const siteConfig = {
77 url : 'https://callstack.github.io' , // Your website URL
88 baseUrl : '/react-native-testing-library/' , // Base URL for your project
99 // Used for publishing and more
10- projectName : 'react-native- testing-library' ,
10+ projectName : '@ testing-library/react-native ' ,
1111 organizationName : 'callstack' ,
1212 favicon : 'img/owl.png' ,
1313
You can’t perform that action at this time.
0 commit comments