Skip to content

Commit 3dabe5c

Browse files
committed
test(core): default to error
1 parent 7381a49 commit 3dabe5c

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
@@ -2844,13 +2844,13 @@ describe('Client', () => {
28442844
client.captureException(new Error('first')); // error
28452845
client.captureException(new Error('second')); // error
28462846
client.captureMessage('third'); // unknown
2847-
client.captureEvent({ message: 'fourth' }); // unknown
2847+
client.captureEvent({ message: 'fourth' }); // error
28482848
client.captureEvent({ message: 'fifth', type: 'replay_event' }); // replay
28492849
client.captureEvent({ message: 'sixth', type: 'transaction' }); // transaction
28502850

28512851
expect(client._clearOutcomes()).toEqual([
2852-
{ reason: 'queue_overflow', category: 'error', quantity: 1 },
2853-
{ reason: 'queue_overflow', category: 'unknown', quantity: 2 },
2852+
{ reason: 'queue_overflow', category: 'error', quantity: 2 },
2853+
{ reason: 'queue_overflow', category: 'unknown', quantity: 1 },
28542854
{ reason: 'queue_overflow', category: 'replay', quantity: 1 },
28552855
{ reason: 'queue_overflow', category: 'transaction', quantity: 1 },
28562856
]);

0 commit comments

Comments
 (0)