Skip to content

Commit

Permalink
test: add missing mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykBuniX committed Oct 18, 2023
1 parent 1f03aac commit b8223bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/script/backup/BackupRepository.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ async function buildBackupRepository() {

const backupService = new BackupService(storageService);
const conversationRepository = {
init1To1Conversations: jest.fn(),
getAllLocalConversations: jest.fn(),
checkForDeletedConversations: jest.fn(),
mapConnections: jest.fn().mockImplementation(() => []),
updateConversationStates: jest.fn().mockImplementation(conversations => conversations),
Expand Down

0 comments on commit b8223bf

Please sign in to comment.