@@ -374,29 +374,29 @@ sentryTest(
374
374
const event0 = getReplayEvent ( req0 ) ;
375
375
const content0 = getReplayRecordingContent ( req0 ) ;
376
376
377
- expect ( event0 ) . toEqual (
378
- getExpectedReplayEvent ( {
379
- error_ids : errorEventIds ,
380
- replay_type : 'buffer' ,
381
- } ) ,
382
- ) ;
383
-
384
- // The first event should have both, full and incremental snapshots,
385
- // as we recorded and kept all events in the buffer
386
- expect ( content0 . fullSnapshots ) . toHaveLength ( 1 ) ;
387
- // We want to make sure that the event that triggered the error was
388
- // recorded, as well as the first error that did not get sampled.
389
- expect ( content0 . breadcrumbs ) . toEqual (
390
- expect . arrayContaining ( [
391
- {
392
- ...expectedClickBreadcrumb ,
393
- message : 'body > button#error' ,
394
- data : {
395
- nodeId : expect . any ( Number ) ,
396
- node : {
397
- attributes : {
398
- id : 'error' ,
399
- } ,
377
+ expect ( event0 ) . toEqual (
378
+ getExpectedReplayEvent ( {
379
+ error_ids : errorEventIds ,
380
+ replay_type : 'buffer' ,
381
+ } ) ,
382
+ ) ;
383
+
384
+ // The first event should have both, full and incremental snapshots,
385
+ // as we recorded and kept all events in the buffer
386
+ expect ( content0 . fullSnapshots ) . toHaveLength ( 1 ) ;
387
+ // We want to make sure that the event that triggered the error was
388
+ // recorded, as well as the first error that did not get sampled.
389
+ expect ( content0 . breadcrumbs ) . toEqual (
390
+ expect . arrayContaining ( [
391
+ {
392
+ ...expectedClickBreadcrumb ,
393
+ message : 'body > button#error' ,
394
+ data : {
395
+ nodeId : expect . any ( Number ) ,
396
+ node : {
397
+ attributes : {
398
+ id : 'error' ,
399
+ } ,
400
400
id : expect . any ( Number ) ,
401
401
tagName : 'button' ,
402
402
textContent : '***** *****' ,
0 commit comments