Skip to content

Commit 81ea690

Browse files
committed
add release test
1 parent 1172f32 commit 81ea690

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev-packages/bun-integration-tests/expect.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ export function eventEnvelope(
7878
public_key: 'public',
7979
trace_id: UUID_MATCHER,
8080
sample_rate: expect.any(String),
81-
...(includeSampleRand && { sample_rand: expect.stringMatching(/^[01](\.\d+)?$/) }),
8281
sampled: expect.any(String),
82+
...(event.release !== undefined && { release: expect.any(String) }),
83+
...(includeSampleRand && { sample_rand: expect.stringMatching(/^[01](\.\d+)?$/) }),
8384
},
8485
},
8586
[[{ type: 'event' }, expectedEvent(event, { sdk })]],

0 commit comments

Comments
 (0)