mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
Update setup.js
This commit is contained in:
parent
4215089888
commit
417a153707
1 changed files with 8 additions and 0 deletions
|
@ -163,6 +163,14 @@ jest.mock('react-native-ios-context-menu', () => {
|
|||
return {};
|
||||
});
|
||||
|
||||
export default {
|
||||
detect: jest.fn(() =>
|
||||
Promise.resolve({
|
||||
values: ['mocked-qr-code'],
|
||||
}),
|
||||
),
|
||||
};
|
||||
|
||||
jest.mock('react-native-haptic-feedback', () => {
|
||||
return {
|
||||
trigger: jest.fn(),
|
||||
|
|
Loading…
Add table
Reference in a new issue