@@ -10,7 +10,7 @@ test('Captures a pageload transaction', async ({ page }) => {
10
10
11
11
const transactionEvent = await transactionEventPromise ;
12
12
expect ( transactionEvent . contexts ?. trace ) . toEqual ( {
13
- data : {
13
+ data : expect . objectContaining ( {
14
14
deviceMemory : expect . any ( String ) ,
15
15
effectiveConnectionType : expect . any ( String ) ,
16
16
hardwareConcurrency : expect . any ( String ) ,
@@ -19,7 +19,7 @@ test('Captures a pageload transaction', async ({ page }) => {
19
19
'sentry.origin' : 'auto.pageload.react.reactrouter_v6' ,
20
20
'sentry.sample_rate' : 1 ,
21
21
'sentry.source' : 'route' ,
22
- } ,
22
+ } ) ,
23
23
op : 'pageload' ,
24
24
span_id : expect . any ( String ) ,
25
25
trace_id : expect . any ( String ) ,
@@ -119,7 +119,7 @@ test('Captures a navigation transaction', async ({ page }) => {
119
119
120
120
const transactionEvent = await transactionEventPromise ;
121
121
expect ( transactionEvent . contexts ?. trace ) . toEqual ( {
122
- data : {
122
+ data : expect . objectContaining ( {
123
123
deviceMemory : expect . any ( String ) ,
124
124
effectiveConnectionType : expect . any ( String ) ,
125
125
hardwareConcurrency : expect . any ( String ) ,
@@ -128,7 +128,7 @@ test('Captures a navigation transaction', async ({ page }) => {
128
128
'sentry.origin' : 'auto.navigation.react.reactrouter_v6' ,
129
129
'sentry.sample_rate' : 1 ,
130
130
'sentry.source' : 'route' ,
131
- } ,
131
+ } ) ,
132
132
op : 'navigation' ,
133
133
span_id : expect . any ( String ) ,
134
134
trace_id : expect . any ( String ) ,
0 commit comments