We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 016c33c commit eedaddfCopy full SHA for eedaddf
packages/core/test/utils-hoist/object.test.ts
@@ -444,7 +444,8 @@ describe('markFunctionWrapped', () => {
444
const wrappedFunc = jest.fn();
445
markFunctionWrapped(wrappedFunc, originalFunc);
446
447
- expect((wrappedFunc as WrappedFunction).__sentry_original__).toBe(originalFunc);
+ // cannot wrap because it is frozen, but we do not error!
448
+ expect((wrappedFunc as WrappedFunction).__sentry_original__).toBe(undefined);
449
450
wrappedFunc();
451
0 commit comments