mirror of
https://github.com/jellyfin/jellyfin-expo.git
synced 2024-11-30 09:40:23 +00:00
Fix icon mock
This commit is contained in:
parent
cb286a667a
commit
8fb8731c0d
@ -9,9 +9,9 @@ import React from 'react';
|
||||
import { openBrowser } from '../../utils/WebBrowser';
|
||||
import BrowserListItem from '../BrowserListItem';
|
||||
|
||||
jest.mock('react-native-elements/src/icons/Icon', () => {
|
||||
jest.mock('react-native-elements/dist/icons/Icon', () => {
|
||||
const mockComponent = require('react-native/jest/mockComponent');
|
||||
return mockComponent('react-native-elements/src/icons/Icon');
|
||||
return mockComponent('react-native-elements/dist/icons/Icon');
|
||||
});
|
||||
|
||||
jest.mock('../../utils/WebBrowser');
|
||||
|
Loading…
Reference in New Issue
Block a user