You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change: channel client-logs through jest result console (#115)
## Description
<!-- Provide a general summary of your changes -->
When enabling client logs they were just streamed through the console
making it hard to understand to which test they belong.
With this change we add the logs to the jestResult.console.
**Before**
<img width="1395" height="438" alt="Screenshot 2026-05-12 at 11 18 20"
src="https://github.com/user-attachments/assets/0aeb5d25-b2ce-4670-9a29-50a92095a791"
/>
**After**
The logs show in the jest formatting as you might know it from other
jest envs:
<img width="1693" height="1054" alt="Screenshot 2026-05-12 at 11 20 36"
src="https://github.com/user-attachments/assets/245a5b81-6be5-4311-84d8-fa7ea3c634a4"
/>
## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an
issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps
to reproduce -->
<!--- Please link to the issue here: -->
/
## Context
<!-- Why this feature was implemented in this particular way? -->
<!-- Is there anything reviewer needs to know before conducting code
review? -->
/
## Testing
<!-- Please describe how you tested your changes -->
Tested locally in playground app.
---------
Co-authored-by: Szymon Chmal <szymon@chmal.it>
When `forwardClientLogs` is enabled, Harness continues attaching device `console` output to the active test result, while keeping the internal log-capture path simpler and easier to maintain.
Copy file name to clipboardExpand all lines: packages/config/src/types.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -111,8 +111,8 @@ export const ConfigSchema = z
111
111
.optional()
112
112
.default(false)
113
113
.describe(
114
-
'Enable forwarding of console.log, console.warn, console.error, and other console method calls from the React Native app to the terminal. '+
115
-
'When enabled, all console output from your app will be displayed in the test runner terminal with styled level indicators (log, warn, error).'
114
+
'Enable forwarding of console.log, console.warn, console.error, and other console method calls from the React Native app during the active test run. '+
115
+
"When enabled, app console output is attached to the active test result's console output."
116
116
),
117
117
118
118
// Deprecated property - used for migration detection
0 commit comments