Skip to content

Commit

Permalink
add jest mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaaron committed Apr 19, 2021
1 parent 1620623 commit a29383c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __mocks__/react-native-bootsplash.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
hide: jest.fn().mockResolvedValueOnce(),
show: jest.fn().mockResolvedValueOnce(),
getVisibilityStatus: jest.fn().mockResolvedValue('hidden'),
};

0 comments on commit a29383c

Please sign in to comment.