mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
TST: fix
This commit is contained in:
parent
5485f14ce3
commit
b5c83eb115
@ -25,6 +25,16 @@ jest.mock('Picker', () => {
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
jest.mock('amplitude-js', () => ({
|
||||
getInstance: function() {
|
||||
return {
|
||||
init: jest.fn(),
|
||||
logEvent: jest.fn(),
|
||||
};
|
||||
},
|
||||
}));
|
||||
|
||||
jest.mock('ScrollView', () => {
|
||||
const RealComponent = require.requireActual('ScrollView');
|
||||
const React = require('React');
|
||||
|
Loading…
Reference in New Issue
Block a user