ueberpruefen
This commit is contained in:
13
jest.setup.js
Normal file
13
jest.setup.js
Normal file
@@ -0,0 +1,13 @@
|
||||
// Mock expo-sqlite
|
||||
jest.mock('expo-sqlite', () => ({
|
||||
openDatabaseAsync: jest.fn(),
|
||||
}));
|
||||
|
||||
// Mock expo modules
|
||||
jest.mock('expo-file-system', () => ({}));
|
||||
jest.mock('expo-camera', () => ({}));
|
||||
jest.mock('expo-image-picker', () => ({}));
|
||||
jest.mock('expo-image-manipulator', () => ({}));
|
||||
jest.mock('expo-localization', () => ({
|
||||
locale: 'en-US',
|
||||
}));
|
||||
Reference in New Issue
Block a user