@piwitests/reporter 0.47.0 → 0.49.0

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/dist/cli/index.js CHANGED
@@ -490,7 +490,7 @@ var DEFAULTS = {
490
490
  defaultCapture: true,
491
491
  checkBaseUrl: false,
492
492
  streaming: true,
493
- streamingBatchSize: 5,
493
+ streamingBatchSize: 20,
494
494
  streamingBatchDelay: 2e3,
495
495
  maxStreamBufferBytes: 100 * 1024 * 1024,
496
496
  submitTimeout: 15 * 60 * 1e3,
@@ -90,7 +90,7 @@ var DEFAULTS = {
90
90
  defaultCapture: true,
91
91
  checkBaseUrl: false,
92
92
  streaming: true,
93
- streamingBatchSize: 5,
93
+ streamingBatchSize: 20,
94
94
  streamingBatchDelay: 2e3,
95
95
  maxStreamBufferBytes: 100 * 1024 * 1024,
96
96
  submitTimeout: 15 * 60 * 1e3,
package/dist/index.d.ts CHANGED
@@ -205,7 +205,11 @@ interface PiwiDashboardOptions {
205
205
  pickLocatorOnFailure?: boolean;
206
206
  /** Enable live streaming of results (falls back to batch if unsupported). Defaults to `true`. */
207
207
  streaming?: boolean;
208
- /** Number of test results to batch before sending during streaming. Defaults to `5`. */
208
+ /**
209
+ * Number of queued events that triggers a send during streaming: test starts
210
+ * and results, and live steps while someone has the run open on the
211
+ * dashboard. Defaults to `20`.
212
+ */
209
213
  streamingBatchSize?: number;
210
214
  /** Max delay (ms) before flushing pending events during streaming. Defaults to `2000`. */
211
215
  streamingBatchDelay?: number;