Răsfoiți Sursa

test(web): pin full telemetry in scaffold

NI0317 1 lună în urmă
părinte
comite
a3cea842d0
1 a modificat fișierele cu 8 adăugiri și 1 ștergeri
  1. 8 1
      apps/web/tests/scaffold.ts

+ 8 - 1
apps/web/tests/scaffold.ts

@@ -421,7 +421,14 @@ export async function launchWebScaffold(options: LaunchOptions = {}): Promise<We
     // disclosure passes a local dead endpoint instead of disabling the row.
     options.telemetryUrl === undefined
       ? { id: 'telemetry-otel', disabled: true }
-      : { id: 'telemetry-otel', config: { exporter: { url: options.telemetryUrl }, shutdownTimeoutMillis: 1_000 } },
+      : {
+        id: 'telemetry-otel',
+        config: {
+          mode: 'FULL',
+          exporter: { url: options.telemetryUrl },
+          shutdownTimeoutMillis: 1_000,
+        },
+      },
     {
       id: 'webserver',
       config: { host: '127.0.0.1', port: 0 },