Skip to content

Commit d37fdf9

Browse files
committed
fix: fix test cases
1 parent 0f03eae commit d37fdf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useLogout/__tests__/useLogout.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mockUseAuthContext.mockImplementation(() => ({
2525
}));
2626

2727
jest.mock('@deriv-com/auth-client', () => ({
28-
OAuth2Logout: jest.fn((WSLogoutAndRedirect) => {
28+
OAuth2Logout: jest.fn(({WSLogoutAndRedirect}) => {
2929
const mockIframe = document.createElement('iframe');
3030
mockIframe.id = 'logout-iframe';
3131
document.body.appendChild(mockIframe);

0 commit comments

Comments
 (0)