Skip to content

chore(breaking): rename to @testing-library/react-native #463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ Supported and used by [Rally Health](https://www.rallyhealth.com/careers-home).

<!-- badges -->

[version-badge]: https://img.shields.io/npm/v/react-native-testing-library.svg?style=flat-square
[package]: https://www.npmjs.com/package/react-native-testing-library
[version-badge]: https://img.shields.io/npm/v/@testing-library/react-native.svg?style=flat-square
[package]: https://www.npmjs.com/package/@testing-library/react-native
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs-welcome]: http://makeapullrequest.com
[chat-badge]: https://img.shields.io/discord/426714625279524876.svg?style=flat-square&colorB=758ED3
Expand Down
4 changes: 2 additions & 2 deletions examples/reactnavigation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-navigation-example",
"description": "Testing react-navigation with react-native-testing-library",
"description": "Testing React Navigation with RNTL",
"version": "0.0.1",
"private": true,
"scripts": {
Expand All @@ -24,7 +24,7 @@
"babel-jest": "^25.4.0",
"jest": "^25.4.0",
"metro-react-native-babel-preset": "^0.59.0",
"react-native-testing-library": "^1.13.0",
"@testing-library/react-native": "^7.0.0-rc.0",
"react-test-renderer": "^16.13.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { render, fireEvent } from 'react-native-testing-library';
import { render, fireEvent } from '@testing-library/react-native';

import AppNavigator from '../AppNavigator';

Expand Down
2 changes: 1 addition & 1 deletion examples/redux/components/AddTodo.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Provider } from 'react-redux';
import { fireEvent, render } from 'react-native-testing-library';
import { fireEvent, render } from '@testing-library/react-native';
import configureStore from '../store';
import AddTodo from './AddTodo';

Expand Down
2 changes: 1 addition & 1 deletion examples/redux/components/TodoList.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Provider } from 'react-redux';
import { fireEvent, render } from 'react-native-testing-library';
import { fireEvent, render } from '@testing-library/react-native';
import configureStore from '../store';
import TodoList from './TodoList';

Expand Down
2 changes: 1 addition & 1 deletion examples/redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"babel-jest": "~25.2.6",
"jest": "~25.2.6",
"metro-react-native-babel-preset": "^0.59.0",
"react-native-testing-library": "^1.13.2",
"@testing-library/react-native": "^7.0.0-rc.0",
"react-test-renderer": "~16.9.0"
},
"private": true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-testing-library",
"version": "2.1.1",
"description": "Simple React Native testing utilities helping you write better tests with less effort",
"name": "@testing-library/react-native",
"version": "7.0.0-rc.0",
"description": "Simple and complete React Native testing utilities that encourage good testing practices.",
"main": "build/index.js",
"typings": "./typings/index.d.ts",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const siteConfig = {
url: 'https://callstack.github.io', // Your website URL
baseUrl: '/react-native-testing-library/', // Base URL for your project
// Used for publishing and more
projectName: 'react-native-testing-library',
projectName: '@testing-library/react-native',
organizationName: 'callstack',
favicon: 'img/owl.png',

Expand Down