Skip to content

Commit 7fec5cd

Browse files
committed
test(core): default to error
1 parent f3a52d7 commit 7fec5cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/test/lib/client.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2973,13 +2973,13 @@ describe('Client', () => {
29732973
client.captureException(new Error('first')); // error
29742974
client.captureException(new Error('second')); // error
29752975
client.captureMessage('third'); // unknown
2976-
client.captureEvent({ message: 'fourth' }); // unknown
2976+
client.captureEvent({ message: 'fourth' }); // error
29772977
client.captureEvent({ message: 'fifth', type: 'replay_event' }); // replay
29782978
client.captureEvent({ message: 'sixth', type: 'transaction' }); // transaction
29792979

29802980
expect(client._clearOutcomes()).toEqual([
2981-
{ reason: 'queue_overflow', category: 'error', quantity: 1 },
2982-
{ reason: 'queue_overflow', category: 'unknown', quantity: 2 },
2981+
{ reason: 'queue_overflow', category: 'error', quantity: 2 },
2982+
{ reason: 'queue_overflow', category: 'unknown', quantity: 1 },
29832983
{ reason: 'queue_overflow', category: 'replay', quantity: 1 },
29842984
{ reason: 'queue_overflow', category: 'transaction', quantity: 1 },
29852985
]);

0 commit comments

Comments
 (0)