@rstest/browser 0.11.3 → 0.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/protocol.ts CHANGED
@@ -69,6 +69,12 @@ export type BrowserExecutionMode = 'run' | 'collect';
69
69
  export type BrowserLogPayload = {
70
70
  level: 'log' | 'warn' | 'error' | 'info' | 'debug';
71
71
  content: string;
72
+ /**
73
+ * Owning project, resolved by the client from its manifest. The host must
74
+ * not re-derive it from `testPath` — concurrent projects can run the same
75
+ * file, so a path-keyed lookup can attribute the log to the wrong project.
76
+ */
77
+ projectName: string;
72
78
  taskId?: string;
73
79
  taskName?: string;
74
80
  taskParentNames?: string[];