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 a9ad045 commit b3923c4Copy full SHA for b3923c4
src/commons/sagas/__tests__/SafeEffects.test.ts
@@ -5,8 +5,8 @@ import { vi } from 'vitest';
5
6
import { wrapSaga } from '../SafeEffects';
7
8
-vi.mock('@sentry/react', async () => ({
9
- ...(await vi.importActual('../../../../node_modules/@sentry/react')),
+vi.mock('@sentry/react', async importOriginal => ({
+ ...(await importOriginal()),
10
captureException: vi.fn()
11
}));
12
0 commit comments