Skip to content

Commit 0db0634

Browse files
committed
fix tests
1 parent 30ef93a commit 0db0634

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/test/lib/base.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,7 @@ describe('BaseClient', () => {
18041804

18051805
expect(mockSend).toBeCalledTimes(1);
18061806
expect(callback).toBeCalledTimes(1);
1807-
expect(callback).toBeCalledWith(errorEvent, undefined);
1807+
expect(callback).toBeCalledWith(errorEvent, 'send error');
18081808
});
18091809

18101810
it('passes the response to the hook', async () => {

packages/core/test/lib/transports/base.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const transportOptions = {
3535

3636
describe('createTransport', () => {
3737
it('flushes the buffer', async () => {
38-
const mockBuffer: PromiseBuffer<void> = {
38+
const mockBuffer: PromiseBuffer<TransportMakeRequestResponse> = {
3939
$: [],
4040
add: jest.fn(),
4141
drain: jest.fn(),

0 commit comments

Comments
 (0)