Skip to content

Commit 5891590

Browse files
committed
adjust ember, svelte, remix tests
1 parent 1f95a2f commit 5891590

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dev-packages/e2e-tests/test-applications/ember-classic/tests/errors.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test('sends an error', async ({ page }) => {
1919
type: 'TypeError',
2020
value: 'this.nonExistentFunction is not a function',
2121
mechanism: {
22-
type: 'instrument',
22+
type: 'browserApiErrors',
2323
handled: false,
2424
},
2525
},
@@ -55,7 +55,7 @@ test('assigns the correct transaction value after a navigation', async ({ page }
5555
type: 'TypeError',
5656
value: 'this.nonExistentFunction is not a function',
5757
mechanism: {
58-
type: 'instrument',
58+
type: 'browserApiErrors',
5959
handled: false,
6060
},
6161
},

dev-packages/e2e-tests/test-applications/svelte-5/tests/errors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test('sends an error', async ({ page }) => {
1919
type: 'Error',
2020
value: 'Error thrown from Svelte 5 E2E test app',
2121
mechanism: {
22-
type: 'instrument',
22+
type: 'browserApiErrors',
2323
handled: false,
2424
},
2525
},

packages/remix/test/integration/test/client/click-error.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test('should report a manually captured message on click with the correct stackt
2020
type: 'Error',
2121
value: 'ClickError',
2222
stacktrace: { frames: expect.any(Array) },
23-
mechanism: { type: 'instrument', handled: false },
23+
mechanism: { type: 'browserApiErrors', handled: false },
2424
},
2525
]);
2626

0 commit comments

Comments
 (0)