Skip to content

Commit

Permalink
LUN-132: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenkleinle committed Jun 7, 2022
1 parent 5b67190 commit 09b44c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions release-notes/unreleased/LUN-132-favorites.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
issue_key: LUN-132
show_in_stores: true
platforms:
- android
- ios
de: Favoriten können nun gespeichert werden.
2 changes: 1 addition & 1 deletion src/routes/__tests__/VocabularyListScreen.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { mockUseLoadAsyncWithData } from '../../testing/mockUseLoadFromEndpoint'
import render from '../../testing/render'
import VocabularyListScreen from '../VocabularyListScreen'

jest.mock('../../../components/FavoriteButton', () => {
jest.mock('../../components/FavoriteButton', () => {
const Text = require('react-native').Text
return () => <Text>FavoriteButton</Text>
})
Expand Down

0 comments on commit 09b44c8

Please sign in to comment.