mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-24 01:11:52 +03:00
tests: use proper async calls for cleanupBackend function (#846)
This commit is contained in:
@@ -3,7 +3,7 @@ import authUtil from 'utils/auth.util';
|
||||
import { oidcClients } from '../data';
|
||||
import { cleanupBackend } from '../utils/cleanup.util';
|
||||
|
||||
test.beforeEach(() => cleanupBackend());
|
||||
test.beforeEach(async () => await cleanupBackend());
|
||||
|
||||
test('Dashboard shows all clients in the correct order', async ({ page }) => {
|
||||
const client1 = oidcClients.tailscale;
|
||||
|
||||
Reference in New Issue
Block a user