mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
Update setup.js
This commit is contained in:
parent
417a153707
commit
88a22ffa68
@ -163,13 +163,9 @@ jest.mock('react-native-ios-context-menu', () => {
|
||||
return {};
|
||||
});
|
||||
|
||||
export default {
|
||||
detect: jest.fn(() =>
|
||||
Promise.resolve({
|
||||
values: ['mocked-qr-code'],
|
||||
}),
|
||||
),
|
||||
};
|
||||
jest.mock('rn-qr-generator', () => ({
|
||||
detect: jest.fn(() => Promise.resolve({ values: ['mocked-qr-code'] })),
|
||||
}));
|
||||
|
||||
jest.mock('react-native-haptic-feedback', () => {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user