Skip to content

Commit

Permalink
fix missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander committed Jan 14, 2025
1 parent f386c24 commit 12ebca5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions e2e/utils/controllers/mfa/enableEmail.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Browser } from 'playwright';
import { expect } from 'playwright/test';
import totp from 'totp-generator';

import { defaultUserAdmin, routes } from '../../../config';
Expand Down Expand Up @@ -33,8 +32,6 @@ export const setupSMTP = async (browser: Browser) => {
await page.getByRole('button', { name: 'Save changes' }).click();
const res = await requestPromise;

Check failure on line 33 in e2e/utils/controllers/mfa/enableEmail.ts

View workflow job for this annotation

GitHub Actions / lint-e2e

'res' is assigned a value but never used
await waitForPromise(1000);
const status = (await res.response())?.status();
expect(status).toBe(200);
await logout(page);
await context.close();
};
Expand Down

0 comments on commit 12ebca5

Please sign in to comment.