mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 15:22:18 +00:00
refactor: run formatter
This commit is contained in:
@@ -5,7 +5,7 @@ import { cleanupBackend } from './utils/cleanup.util';
|
||||
const authFile = 'tests/.auth/user.json';
|
||||
|
||||
setup('authenticate', async ({ page }) => {
|
||||
await cleanupBackend();
|
||||
await cleanupBackend();
|
||||
await page.goto('/login');
|
||||
|
||||
await (await passkeyUtil.init(page)).addPasskey();
|
||||
@@ -13,6 +13,5 @@ setup('authenticate', async ({ page }) => {
|
||||
await page.getByRole('button', { name: 'Authenticate' }).click();
|
||||
await page.waitForURL('/settings/account');
|
||||
|
||||
|
||||
await page.context().storageState({ path: authFile });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user