Skip to content

Commit 993b1e5

Browse files
committed
moar test fixes
1 parent 34cd7af commit 993b1e5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/remix/test/integration/test/client/errorboundary.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test('should capture React component errors.', async ({ page }) => {
3434
type: 'Error',
3535
value: 'Sentry React Component Error',
3636
stacktrace: { frames: expect.any(Array) },
37-
mechanism: { type: useV2 ? 'instrument' : 'generic', handled: false },
37+
mechanism: { type: useV2 ? 'instrument' : 'generic', handled: true },
3838
},
3939
]);
4040
});

packages/remix/test/integration/test/server/action.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
8383
data: {
8484
function: useV2 ? 'remix.server' : 'action',
8585
},
86-
handled: true,
86+
handled: false,
8787
type: 'instrument',
8888
},
8989
},
@@ -203,7 +203,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
203203
data: {
204204
function: useV2 ? 'remix.server' : 'loader',
205205
},
206-
handled: true,
206+
handled: false,
207207
type: 'instrument',
208208
},
209209
},
@@ -256,7 +256,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
256256
data: {
257257
function: useV2 ? 'ErrorResponse' : 'action',
258258
},
259-
handled: true,
259+
handled: false,
260260
type: 'instrument',
261261
},
262262
},
@@ -311,7 +311,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
311311
data: {
312312
function: useV2 ? 'ErrorResponse' : 'action',
313313
},
314-
handled: true,
314+
handled: false,
315315
type: 'instrument',
316316
},
317317
},
@@ -364,7 +364,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
364364
data: {
365365
function: useV2 ? 'ErrorResponse' : 'action',
366366
},
367-
handled: true,
367+
handled: false,
368368
type: 'instrument',
369369
},
370370
},
@@ -419,7 +419,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
419419
data: {
420420
function: useV2 ? 'ErrorResponse' : 'action',
421421
},
422-
handled: true,
422+
handled: false,
423423
type: 'instrument',
424424
},
425425
},

0 commit comments

Comments
 (0)