@@ -10,7 +10,7 @@ test('Captures a pageload transaction', async ({ page }) => {
1010
1111 const transactionEvent = await transactionEventPromise ;
1212 expect ( transactionEvent . contexts ?. trace ) . toEqual ( {
13- data : {
13+ data : expect . objectContaining ( {
1414 deviceMemory : expect . any ( String ) ,
1515 effectiveConnectionType : expect . any ( String ) ,
1616 hardwareConcurrency : expect . any ( String ) ,
@@ -19,7 +19,7 @@ test('Captures a pageload transaction', async ({ page }) => {
1919 'sentry.origin' : 'auto.pageload.react.reactrouter_v6' ,
2020 'sentry.sample_rate' : 1 ,
2121 'sentry.source' : 'route' ,
22- } ,
22+ } ) ,
2323 op : 'pageload' ,
2424 span_id : expect . any ( String ) ,
2525 trace_id : expect . any ( String ) ,
@@ -119,7 +119,7 @@ test('Captures a navigation transaction', async ({ page }) => {
119119
120120 const transactionEvent = await transactionEventPromise ;
121121 expect ( transactionEvent . contexts ?. trace ) . toEqual ( {
122- data : {
122+ data : expect . objectContaining ( {
123123 deviceMemory : expect . any ( String ) ,
124124 effectiveConnectionType : expect . any ( String ) ,
125125 hardwareConcurrency : expect . any ( String ) ,
@@ -128,7 +128,7 @@ test('Captures a navigation transaction', async ({ page }) => {
128128 'sentry.origin' : 'auto.navigation.react.reactrouter_v6' ,
129129 'sentry.sample_rate' : 1 ,
130130 'sentry.source' : 'route' ,
131- } ,
131+ } ) ,
132132 op : 'navigation' ,
133133 span_id : expect . any ( String ) ,
134134 trace_id : expect . any ( String ) ,
0 commit comments