We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7dd3a6 commit 058a0deCopy full SHA for 058a0de
1 file changed
…n/hooks/useThumbnailRegeneration.test.ts …n/hooks/useThumbnailRegeneration.spec.tssrc/screens/drive/DrivePreviewScreen/hooks/useThumbnailRegeneration.test.ts renamed to src/screens/drive/DrivePreviewScreen/hooks/useThumbnailRegeneration.spec.ts
@@ -1,3 +1,19 @@
1
+jest.mock('@internxt-mobile/services/drive/file', () => ({
2
+ driveFileService: {
3
+ regenerateThumbnail: jest.fn(),
4
+ },
5
+}));
6
+
7
+jest.mock('@internxt-mobile/services/common', () => ({
8
+ logger: {
9
+ info: jest.fn(),
10
11
12
13
+jest.mock('@internxt-mobile/services/ErrorService', () => ({
14
+ reportError: jest.fn(),
15
16
17
import { canGenerateThumbnail, shouldRegenerateThumbnail } from './useThumbnailRegeneration';
18
19
describe('useThumbnailRegeneration', () => {
0 commit comments