Skip to content

Commit

Permalink
fix: remove unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Dec 20, 2024
1 parent 4453c25 commit 369945e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
import Header from '@frontend/shared/browser-tests/page-models/Header';
import { DEFAULT_LANGUAGE } from '@frontend/shared/src/i18n/i18n';
import User from '@frontend/shared/src/types/user';
import TestController from 'testcafe';

import getEmployerTranslationsApi from '../../src/__tests__/utils/i18n/get-employer-translations-api';

Expand All @@ -18,6 +17,6 @@ export const doEmployerLogin = async (
await header.userIsLoggedOut();
await header.clickLoginButton();
const suomiFiData = await doLogin(t, lang, cachedUser);
await header.userIsLoggedIn(suomiFiData.user ?? cachedUser);
await header.userIsLoggedIn();
return suomiFiData;
};

0 comments on commit 369945e

Please sign in to comment.