Skip to content

Commit

Permalink
Remove unnecessary filter for AppRegistry logs (#48367)
Browse files Browse the repository at this point in the history
Summary:

Changelog: [internal]

We removed the calls to `AppRegistry` in Fantom, so this filter isn't necessary anymore (just a no-op).

Reviewed By: rshest

Differential Revision: D67600610
  • Loading branch information
rubennorte authored and facebook-github-bot committed Jan 2, 2025
1 parent 93117ea commit 544b682
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/react-native-fantom/runner/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ function parseRNTesterCommandResult(result: ReturnType<typeof runBuck2>): {
} {
const stdout = result.stdout.toString();

const outputArray = stdout
.trim()
.split('\n')
.filter(log => !log.startsWith('Running "')); // remove AppRegistry logs.
const outputArray = stdout.trim().split('\n');

// The last line should be the test output in JSON format
const testResultJSON = outputArray.pop();
Expand Down

0 comments on commit 544b682

Please sign in to comment.