Skip to content

Add basic test for Modal#53140

Closed
cipolleschi wants to merge 2 commits into
facebook:mainfrom
cipolleschi:export-D79805808
Closed

Add basic test for Modal#53140
cipolleschi wants to merge 2 commits into
facebook:mainfrom
cipolleschi:export-D79805808

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

Summary:
As per title, this change adds the boilerplate code for a Fantom test on Modal

Changelog:

[Internal] -

Differential Revision: D79805808

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 7, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

@cipolleschi cipolleschi force-pushed the export-D79805808 branch 2 times, most recently from dc8151e to bf8dcc0 Compare August 7, 2025 17:07
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

1 similar comment
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

@cipolleschi cipolleschi force-pushed the export-D79805808 branch 2 times, most recently from e1d2e26 to 7476c38 Compare August 8, 2025 09:51
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

Summary:
Pull Request resolved: facebook#53135

Our Codegenerated components are not generating code for `getDebugProps`. This change modifies Codegen to add those functions for all the codegen components.

## Changelog:
[General][Added] - Added getDebugProps to codegen

## Facebook:
`getDebugProps` are required by Fantom to write tests. However, we can't generate these function for third party components, because codegen can generate arbitrary structs and we don't have a generic `toString()` method that can be used or automatically generated by C++.

By generating this function only for Core Components, we can ensure that we can write Fantom tests without breaking all the users of React Native.

Differential Revision: D79805145

Reviewed By: rubennorte
Summary:
Pull Request resolved: facebook#53140

As per title, this change adds the boilerplate code for a Fantom test on Modal

## Changelog:
[Internal] -

Reviewed By: andrewdacenko

Differential Revision: D79805808
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Aug 8, 2025
Summary:
Pull Request resolved: facebook#53140

As per title, this change adds the boilerplate code for a Fantom test on Modal

## Changelog:
[Internal] -

Differential Revision: D79805808

Reviewed By: andrewdacenko
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79805808

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 8, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 7035391.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants