mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-29 01:12:10 +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 { userGroups, users } from '../data';
|
||||
import { cleanupBackend } from '../utils/cleanup.util';
|
||||
|
||||
test.beforeEach(() => cleanupBackend());
|
||||
test.beforeEach(async () => await cleanupBackend());
|
||||
|
||||
test('Create user', async ({ page }) => {
|
||||
const user = users.steve;
|
||||
|
||||
Reference in New Issue
Block a user