Skip to content
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

Integrate RN Nightly Build 0.78.0-nightly-20250113-d4407d6f7 #14278

Merged
merged 22 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

'use strict';

// $FlowFixMe[cannot-resolve-module]
import typeof DrawerLayoutAndroid from './DrawerLayoutAndroid.android';

module.exports =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,9 @@ function ContainerBackgroundColorExample(props: {}): React.Node {
function TextDecorationExample(props: {}): React.Node {
return (
<>
<RNTesterText style={{textDecorationLine: 'underline'}} testID={'text-decoration-underline'}>
<RNTesterText
style={{textDecorationLine: 'underline'}}
testID={'text-decoration-underline'}>
Solid underline
</RNTesterText>
<RNTesterText style={{textDecorationLine: 'none'}}>
Expand Down Expand Up @@ -667,7 +669,9 @@ function TextDecorationExample(props: {}): React.Node {
function NestedExample(props: {}): React.Node {
return (
<>
<RNTesterText onPress={() => console.log('1st')} testID={'text-outer-color'}>
<RNTesterText
onPress={() => console.log('1st')}
testID={'text-outer-color'}>
(Normal text,
<Text style={{color: 'red', fontWeight: 'bold'}}>
(R)red
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function AutogrowingTextInputExample({
});
}}
{...props}
testID={"textinput-autogrow"}
testID={'textinput-autogrow'}
/>
<RNTesterText>Plain text value representation:</RNTesterText>
<RNTesterText>{text}</RNTesterText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ describe('Image Tests', () => {
const dump = await dumpVisualTree('image-network-callback');
expect(dump).toMatchSnapshot();
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chiaramooney Just want to confirm that it's good to remove this test - in this PR upstream, the Image component attached to this test was removed: facebook/react-native#48619. Since there's is only one image left in this example, I removed the test for the second (now deleted) image.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep that's okay!

test('An Image component can hve a network callback 2', async () => {
const component = await app.findElementByTestID('image-network-callback-2');
await component.waitForDisplayed({timeout: 5000});
const dump = await dumpVisualTree('image-network-callback-2');
expect(dump).toMatchSnapshot();
});
test('A network Image example', async () => {
const component = await app.findElementByTestID('image-network');
await component.waitForDisplayed({timeout: 5000});
Expand Down
Loading