-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into @chrispader/simplify-native-attachment-carousel
- Loading branch information
Showing
393 changed files
with
10,255 additions
and
4,260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import MockClipboard from '@react-native-clipboard/clipboard/jest/clipboard-mock'; | ||
|
||
export default MockClipboard; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import {fs} from 'memfs'; | ||
import type {FsPromisesApi} from 'memfs/lib/node/types'; | ||
|
||
type PromisesMock = FsPromisesApi; | ||
|
||
const promisesMock: PromisesMock = fs.promises; | ||
|
||
export default promisesMock; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import dotenv from 'dotenv'; | ||
import path from 'path'; | ||
|
||
type ReactNativeConfigMock = dotenv.DotenvParseOutput | undefined; | ||
|
||
const reactNativeConfigMock: ReactNativeConfigMock = dotenv.config({path: path.resolve('./.env.example')}).parsed; | ||
|
||
export default reactNativeConfigMock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export default { | ||
getConstants: jest.fn(), | ||
pick: jest.fn(), | ||
releaseSecureAccess: jest.fn(), | ||
pickDirectory: jest.fn(), | ||
|
||
types: Object.freeze({ | ||
allFiles: 'public.item', | ||
audio: 'public.audio', | ||
csv: 'public.comma-separated-values-text', | ||
doc: 'com.microsoft.word.doc', | ||
docx: 'org.openxmlformats.wordprocessingml.document', | ||
images: 'public.image', | ||
pdf: 'com.adobe.pdf', | ||
plainText: 'public.plain-text', | ||
ppt: 'com.microsoft.powerpoint.ppt', | ||
pptx: 'org.openxmlformats.presentationml.presentation', | ||
video: 'public.movie', | ||
xls: 'com.microsoft.excel.xls', | ||
xlsx: 'org.openxmlformats.spreadsheetml.sheet', | ||
zip: 'public.zip-archive', | ||
}), | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type {addListener as _addListener, constants as _constants} from 'react-native-key-command'; | ||
|
||
const registerKeyCommands = () => {}; | ||
const unregisterKeyCommands = () => {}; | ||
const constants: Partial<typeof _constants> = {}; | ||
const eventEmitter = () => {}; | ||
const addListener: typeof _addListener = () => () => {}; | ||
|
||
export {addListener, constants, eventEmitter, registerKeyCommands, unregisterKeyCommands}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.