Skip to content

Commit 923b194

Browse files
rubennortefacebook-github-bot
authored andcommitted
Rename ReactNativeTester as just Fantom (#48142)
Summary: Pull Request resolved: #48142 Changelog: [internal] This is the default export from the `react-native/fantom` package and it makes sense to be called that way. Also, this is similar to the `jest` global. Reviewed By: javache Differential Revision: D66874225 fbshipit-source-id: 8b43a637ebb42b5b1acb9ea5a6dbedd4c1a4f9e0
1 parent 3fafc9f commit 923b194

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

jest/integration/runtime/WarmUpEntryPoint.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7+
* @flow strict-local
78
* @format
89
* @oncall react_native
910
*/
@@ -13,5 +14,5 @@
1314
*/
1415

1516
import 'react-native/Libraries/Core/InitializeCore.js';
16-
import 'react-native/src/private/__tests__/ReactNativeTester';
17+
import '@react-native/fantom/src/__tests__/Fantom-itest';
1718
import './setup';

packages/react-native-fantom/src/__tests__/ReactNativeTester-itest.js renamed to packages/react-native-fantom/src/__tests__/Fantom-itest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {createRoot, runTask} from '..';
1414
import * as React from 'react';
1515
import {Text, View} from 'react-native';
1616

17-
describe('ReactNativeTester', () => {
17+
describe('Fantom', () => {
1818
describe('runTask', () => {
1919
it('should run a task synchronously', () => {
2020
const task = jest.fn();

0 commit comments

Comments
 (0)