mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-28 09:15:07 +03:00
tests: use proper async calls for cleanupBackend function (#846)
This commit is contained in:
@@ -2,7 +2,7 @@ import test, { expect } from '@playwright/test';
|
||||
import { oneTimeAccessTokens } from '../data';
|
||||
import { cleanupBackend } from '../utils/cleanup.util';
|
||||
|
||||
test.beforeEach(() => cleanupBackend());
|
||||
test.beforeEach(async () => await cleanupBackend());
|
||||
|
||||
// Disable authentication for these tests
|
||||
test.use({ storageState: { cookies: [], origins: [] } });
|
||||
|
||||
Reference in New Issue
Block a user