Fix image import mocking
This commit is contained in:
@@ -60,7 +60,7 @@ exports[`Stats screen when provided data, renders stats 1`] = `
|
||||
}
|
||||
>
|
||||
<Image
|
||||
source="image"
|
||||
source={123}
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
|
||||
@@ -6,7 +6,6 @@ import Stats from '../../components/stats'
|
||||
jest.mock('../../components/common/AppHelp', () => 'AppHelp')
|
||||
jest.mock('../../components/common/StatsOverview', () => 'StatsOverview')
|
||||
jest.mock('../../components/common/StatsTable', () => 'StatsTable')
|
||||
jest.mock('../../assets/cycle-icon.png', () => 'image')
|
||||
|
||||
const mockGetAllCycleLengths = jest
|
||||
.fn()
|
||||
|
||||
Reference in New Issue
Block a user