mock expo file system.

This commit is contained in:
Jordan
2025-02-19 06:13:10 -08:00
parent b3c2e09987
commit 6673663883
3 changed files with 12 additions and 11 deletions

View File

@ -1,10 +0,0 @@
// __mocks__/expo-file-system.js
export const File = {
// Define the properties and methods you need for your tests
uri: 'file:///path/to/file',
};
export const Paths = {
// Define the paths you need for your tests
DOCUMENTS_DIRECTORY: '/path/to/documents',
};

View File

@ -0,0 +1,4 @@
export const File = jest.fn();
export const Paths = {
join: jest.fn(),
};