We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f03eae commit d37fdf9Copy full SHA for d37fdf9
src/hooks/useLogout/__tests__/useLogout.test.tsx
@@ -25,7 +25,7 @@ mockUseAuthContext.mockImplementation(() => ({
25
}));
26
27
jest.mock('@deriv-com/auth-client', () => ({
28
- OAuth2Logout: jest.fn((WSLogoutAndRedirect) => {
+ OAuth2Logout: jest.fn(({WSLogoutAndRedirect}) => {
29
const mockIframe = document.createElement('iframe');
30
mockIframe.id = 'logout-iframe';
31
document.body.appendChild(mockIframe);
0 commit comments