Skip to content

Commit

Permalink
fix: remove redundant mockImplementation
Browse files Browse the repository at this point in the history
  • Loading branch information
GoncaloCanteiro committed Mar 20, 2023
1 parent 328f02b commit d525fee
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ describe('SlackAddUserIntoChannelApplication', () => {
);
userHandlerMock = jest
.spyOn(userHandler, 'getSlackUserIdByEmail')
.mockImplementation(jest.fn())
.mockResolvedValue('someUserId');

jest
.spyOn(conversationsHandler, 'inviteUserToChannel')
.mockImplementation(jest.fn())
.mockResolvedValue({ ok: true, channelId: 'someChannelId' });
});

Expand Down

0 comments on commit d525fee

Please sign in to comment.