Skip to content

Commit b3923c4

Browse files
committed
Simplify test import
1 parent a9ad045 commit b3923c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commons/sagas/__tests__/SafeEffects.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { vi } from 'vitest';
55

66
import { wrapSaga } from '../SafeEffects';
77

8-
vi.mock('@sentry/react', async () => ({
9-
...(await vi.importActual('../../../../node_modules/@sentry/react')),
8+
vi.mock('@sentry/react', async importOriginal => ({
9+
...(await importOriginal()),
1010
captureException: vi.fn()
1111
}));
1212

0 commit comments

Comments
 (0)