Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e2e5a44

Browse files
committed
fix tests
1 parent 5de55ca commit e2e5a44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎packages/core/test/lib/trpc.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('trpcMiddleware', () => {
7878
});
7979

8080
expect(exports.captureException).toHaveBeenCalledWith(error, {
81-
mechanism: { handled: false, data: {function: 'trpcMiddleware'} },
81+
mechanism: { handled: false, type: 'auto.rpc.trpc.middleware' },
8282
});
8383
});
8484

@@ -115,7 +115,7 @@ describe('trpcMiddleware', () => {
115115
).rejects.toThrow(error);
116116

117117
expect(exports.captureException).toHaveBeenCalledWith(error, {
118-
mechanism: { handled: false, data: {function: 'trpcMiddleware'} },
118+
mechanism: { handled: false, type: 'auto.rpc.trpc.middleware' },
119119
});
120120
});
121121

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /