@@ -159,17 +159,14 @@ describe('Recorder', function () {
159
159
const firstCallData = mockSpan . addEvent . firstCall . args [ 1 ] ;
160
160
expect ( firstCallData . eventType ) . to . equal ( 'event1' ) ;
161
161
expect ( JSON . parse ( firstCallData . json ) ) . to . deep . equal ( { a : 1 } ) ;
162
- expect ( firstCallData [ 'rollbar.replay.id' ] ) . to . equal ( testReplayId ) ;
163
162
164
163
const secondCallData = mockSpan . addEvent . secondCall . args [ 1 ] ;
165
164
expect ( secondCallData . eventType ) . to . equal ( 'event2' ) ;
166
165
expect ( JSON . parse ( secondCallData . json ) ) . to . deep . equal ( { b : 2 } ) ;
167
- expect ( secondCallData [ 'rollbar.replay.id' ] ) . to . equal ( testReplayId ) ;
168
166
169
167
const thirdCallData = mockSpan . addEvent . thirdCall . args [ 1 ] ;
170
168
expect ( thirdCallData . eventType ) . to . equal ( 5 ) ;
171
169
expect ( JSON . parse ( thirdCallData . json ) ) . to . deep . equal ( { tag : "replay.end" , payload : { } } ) ;
172
- expect ( thirdCallData [ 'rollbar.replay.id' ] ) . to . equal ( testReplayId ) ;
173
170
} ) ;
174
171
175
172
it ( 'should handle checkout events correctly' , function ( ) {
@@ -244,7 +241,6 @@ describe('Recorder', function () {
244
241
attributes : {
245
242
eventType : EventType . Meta ,
246
243
json : JSON . stringify ( { } ) ,
247
- 'rollbar.replay.id' : testReplayId ,
248
244
} ,
249
245
timestamp : [ 3 , 50000000 ] ,
250
246
} ,
@@ -253,7 +249,6 @@ describe('Recorder', function () {
253
249
attributes : {
254
250
eventType : EventType . FullSnapshot ,
255
251
json : JSON . stringify ( { } ) ,
256
- 'rollbar.replay.id' : testReplayId ,
257
252
} ,
258
253
timestamp : [ 3 , 100000000 ] ,
259
254
} ,
@@ -262,7 +257,6 @@ describe('Recorder', function () {
262
257
attributes : {
263
258
eventType : EventType . IncrementalSnapshot ,
264
259
json : JSON . stringify ( { c : 3 } ) ,
265
- 'rollbar.replay.id' : testReplayId ,
266
260
} ,
267
261
timestamp : [ 4 , 0 ] ,
268
262
} ,
@@ -271,7 +265,6 @@ describe('Recorder', function () {
271
265
attributes : {
272
266
eventType : EventType . Meta ,
273
267
json : JSON . stringify ( { } ) ,
274
- 'rollbar.replay.id' : testReplayId ,
275
268
} ,
276
269
timestamp : [ 4 , 500000000 ] ,
277
270
} ,
@@ -280,7 +273,6 @@ describe('Recorder', function () {
280
273
attributes : {
281
274
eventType : EventType . FullSnapshot ,
282
275
json : JSON . stringify ( { } ) ,
283
- 'rollbar.replay.id' : testReplayId ,
284
276
} ,
285
277
timestamp : [ 5 , 0 ] ,
286
278
} ,
@@ -289,7 +281,6 @@ describe('Recorder', function () {
289
281
attributes : {
290
282
eventType : EventType . IncrementalSnapshot ,
291
283
json : JSON . stringify ( { d : 4 } ) ,
292
- 'rollbar.replay.id' : testReplayId ,
293
284
} ,
294
285
timestamp : [ 6 , 0 ] ,
295
286
} ,
@@ -361,7 +352,6 @@ describe('Recorder', function () {
361
352
'rrweb-replay-events' ,
362
353
`Event at index ${ i } should have name "rrweb-replay-events"`
363
354
) ;
364
- expect ( eventAttrs [ 'rollbar.replay.id' ] ) . to . equal ( testReplayId ) ;
365
355
}
366
356
} ) ;
367
357
0 commit comments