Skip to content

Extract logic to debug command errors to shared function#48019

Closed
rubennorte wants to merge 3 commits into
facebook:mainfrom
rubennorte:export-D66596730
Closed

Extract logic to debug command errors to shared function#48019
rubennorte wants to merge 3 commits into
facebook:mainfrom
rubennorte:export-D66596730

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Differential Revision: D66596730

Summary:

Changelog: [internal]

Just a small refactor in preparation for a following change that will add more usages for these utilities. It also cleans up the runner file which is good too.

Differential Revision: D66595405
…unning time (facebook#48015)

Summary:

Changelog: [internal]

Right now, when we run individual Fantom tests, we compile Hermes and the RN Tester CLI as part of the test, which causes the first test to run to be very slow and the remaining tests in the same run to be very fast.

This is misleading because it makes it look like the test itself is slow, when it's actually paying a price for everyone.

Fortunately, Jest has an option to do a global setup before any tests in the project run (and it doesn't run if none of the tests in the project run, in multi-project setups), so we can use it to do the necessary warmup so it doesn't end up being attributed to individual tests.

Differential Revision: D66595406
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Nov 29, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@react-native-bot
Copy link
Copy Markdown
Collaborator

Fails
🚫

❔ This pull request needs a description.

Generated by 🚫 dangerJS against e4b7a5d

rubennorte added a commit to rubennorte/react-native that referenced this pull request Dec 2, 2024
)

Summary:

Changelog: [internal]

Just a minor refactor to reduce code duplication.

Reviewed By: rshest

Differential Revision: D66596730
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 2, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 762389f.

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.

3 participants