-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d5842d
commit bd577b1
Showing
56 changed files
with
5,531 additions
and
999 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
const Camera = {} | ||
export default Camera; |
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,7 @@ | ||
export async function getGenericPassword() { | ||
return { | ||
password: 'password', | ||
}; | ||
} | ||
|
||
export async function setGenericPassword() {} |
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,5 @@ | ||
const SplashScreen = { | ||
hide: jest.fn(), | ||
} | ||
|
||
export default SplashScreen; |
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,29 @@ | ||
const rn = require('react-native'); | ||
|
||
jest.useFakeTimers(); | ||
|
||
jest.mock('Alert', () => ({ alert: jest.fn() })); | ||
|
||
jest.mock('NativeModules', () => ({ | ||
RNRandomBytes: { | ||
seed: '123', | ||
}, | ||
P2PTransferBLECentralModule: { | ||
addListener: jest.fn(), | ||
}, | ||
P2PTransferBLEPeripheralModule: {}, | ||
KeyboardObserver: { | ||
addListener: jest.fn(), | ||
}, | ||
StatusBarManager: { | ||
HEIGHT: 42, | ||
setColor: jest.fn(), | ||
setStyle: jest.fn(), | ||
setHidden: jest.fn(), | ||
setNetworkActivityIndicatorVisible: jest.fn(), | ||
setBackgroundColor: jest.fn(), | ||
setTranslucent: jest.fn(), | ||
}, | ||
})); | ||
|
||
module.exports = rn; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.