Skip to content

Commit a5aaed9

Browse files
committed
fix tests
1 parent 91d2c9f commit a5aaed9

File tree

2 files changed

+2
-2
lines changed
  • packages/browser-integration-tests/suites
    • public-api/instrumentation/eventListener
    • sessions/update-session

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentryTest(
1717
value: 'event_listener_error',
1818
mechanism: {
1919
type: 'instrument',
20-
handled: true,
20+
handled: false,
2121
},
2222
stacktrace: {
2323
frames: expect.any(Array),

packages/browser-integration-tests/suites/sessions/update-session/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentryTest('should update session when an error is thrown.', async ({ getLocalTe
1717
expect(updatedSession).toBeDefined();
1818
expect(updatedSession.init).toBe(false);
1919
expect(updatedSession.errors).toBe(1);
20-
expect(updatedSession.status).toBe('ok');
20+
expect(updatedSession.status).toBe('crashed');
2121
expect(pageloadSession.sid).toBe(updatedSession.sid);
2222
});
2323

0 commit comments

Comments
 (0)