mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
Update setup.js
This commit is contained in:
parent
b04213a1cb
commit
f0ac4d66a3
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ jest.mock('react-native-ios-context-menu', () => {
|
|||
});
|
||||
|
||||
jest.mock('rn-qr-generator', () => ({
|
||||
detect: jest.fn((uri) => {
|
||||
detect: jest.fn(uri => {
|
||||
if (uri === 'invalid-image') {
|
||||
return Promise.reject(new Error('Failed to decode QR code'));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue