Skip to content

Commit 2d88de6

Browse files
committed
test diagnostics trace provenance contract
1 parent a6fde9e commit 2d88de6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/infra/diagnostic-events.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ describe("diagnostic-events", () => {
240240

241241
expect(traceparents).toEqual([undefined, `00-${trace.traceId}-${trace.spanId}-01`]);
242242
expect(formatDiagnosticTraceparentForPropagation({ trace }, { trusted: true })).toBeUndefined();
243+
expect(
244+
formatDiagnosticTraceparentForPropagation(
245+
{ trace },
246+
{ trusted: false, trustedTraceContext: true },
247+
),
248+
).toBeUndefined();
243249
});
244250

245251
it("shares diagnostic state across duplicate module instances", async () => {

0 commit comments

Comments
 (0)