Skip to content

Commit

Permalink
Remove unnecessary filter for AppRegistry logs
Browse files Browse the repository at this point in the history
Differential Revision: D67600610
  • Loading branch information
rubennorte authored and facebook-github-bot committed Jan 2, 2025
1 parent 93117ea commit c948bc2
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 c948bc2

Please sign in to comment.