Skip to content

Commit 8185277

Browse files
committed
adjust integration tests
1 parent 1cb1731 commit 8185277

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

dev-packages/browser-integration-tests/suites/public-api/instrumentation/eventListener/event-target/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sentryTest('should capture target name in mechanism data', async ({ getLocalTest
1313
type: 'Error',
1414
value: 'event_listener_error',
1515
mechanism: {
16-
type: 'instrument',
16+
type: 'browserApiErrors',
1717
handled: false,
1818
data: {
1919
function: 'addEventListener',

dev-packages/browser-integration-tests/suites/public-api/instrumentation/eventListener/named-function/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sentryTest('should capture built-in handlers fn name in mechanism data', async (
1313
type: 'Error',
1414
value: 'event_listener_error',
1515
mechanism: {
16-
type: 'instrument',
16+
type: 'browserApiErrors',
1717
handled: false,
1818
data: {
1919
function: 'addEventListener',

dev-packages/browser-integration-tests/suites/public-api/instrumentation/eventListener/remove/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sentryTest('should transparently remove event listeners from wrapped functions',
1313
type: 'Error',
1414
value: 'foo',
1515
mechanism: {
16-
type: 'instrument',
16+
type: 'browserApiErrors',
1717
handled: false,
1818
},
1919
stacktrace: {

dev-packages/browser-integration-tests/suites/public-api/instrumentation/eventListener/thrown-error/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sentryTest(
1515
type: 'Error',
1616
value: 'event_listener_error',
1717
mechanism: {
18-
type: 'instrument',
18+
type: 'browserApiErrors',
1919
handled: false,
2020
data: {
2121
function: 'addEventListener',

dev-packages/browser-integration-tests/suites/public-api/instrumentation/requestAnimationFrame/thrown-errors/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sentryTest('should capture exceptions inside callback', async ({ getLocalTestUrl
1313
type: 'Error',
1414
value: 'requestAnimationFrame_error',
1515
mechanism: {
16-
type: 'instrument',
16+
type: 'browserApiErrors',
1717
handled: false,
1818
},
1919
stacktrace: {

dev-packages/browser-integration-tests/suites/public-api/instrumentation/setInterval/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sentryTest('Instrumentation should capture errors in setInterval', async ({ getL
1313
type: 'Error',
1414
value: 'setInterval_error',
1515
mechanism: {
16-
type: 'instrument',
16+
type: 'browserApiErrors',
1717
handled: false,
1818
},
1919
stacktrace: {

dev-packages/browser-integration-tests/suites/public-api/instrumentation/setTimeout/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sentryTest('Instrumentation should capture errors in setTimeout', async ({ getLo
1313
type: 'Error',
1414
value: 'setTimeout_error',
1515
mechanism: {
16-
type: 'instrument',
16+
type: 'browserApiErrors',
1717
handled: false,
1818
data: {
1919
function: 'setTimeout',

dev-packages/browser-integration-tests/suites/public-api/instrumentation/setTimeoutFrozen/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sentryTest(
2525
type: 'Error',
2626
value: 'setTimeout_error',
2727
mechanism: {
28-
type: 'instrument',
28+
type: 'browserApiErrors',
2929
handled: false,
3030
},
3131
stacktrace: {

dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/thrown-error/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sentryTest(
1515
type: 'Error',
1616
value: 'xhr_error',
1717
mechanism: {
18-
type: 'instrument',
18+
type: 'public-api/instrumentation',
1919
handled: false,
2020
data: {
2121
function: 'onreadystatechange',

0 commit comments

Comments
 (0)