We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1172f32 commit 81ea690Copy full SHA for 81ea690
dev-packages/bun-integration-tests/expect.ts
@@ -78,8 +78,9 @@ export function eventEnvelope(
78
public_key: 'public',
79
trace_id: UUID_MATCHER,
80
sample_rate: expect.any(String),
81
- ...(includeSampleRand && { sample_rand: expect.stringMatching(/^[01](\.\d+)?$/) }),
82
sampled: expect.any(String),
+ ...(event.release !== undefined && { release: expect.any(String) }),
83
+ ...(includeSampleRand && { sample_rand: expect.stringMatching(/^[01](\.\d+)?$/) }),
84
},
85
86
[[{ type: 'event' }, expectedEvent(event, { sdk })]],
0 commit comments