Skip to content

Commit

Permalink
[TS migration] Migrate rn-fetch-block mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-rebelo committed Jan 30, 2024
1 parent c9877d1 commit 67cd4c4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 0 additions & 4 deletions __mocks__/rn-fetch-blob.js

This file was deleted.

11 changes: 11 additions & 0 deletions __mocks__/rn-fetch-blob.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
type RnFetchBlob = {
DocumentDir: jest.Mock
ImageCache: jest.Mock
}

const RnFetchBlobMock: RnFetchBlob = {
DocumentDir: jest.fn(),
ImageCache: jest.fn(),
}

export default RnFetchBlobMock

0 comments on commit 67cd4c4

Please sign in to comment.