mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 11:05:14 +00:00
tests: use proper async calls for cleanupBackend function (#846)
This commit is contained in:
@@ -3,7 +3,7 @@ import { signupTokens, users } from 'data';
|
||||
import { cleanupBackend } from '../utils/cleanup.util';
|
||||
import passkeyUtil from '../utils/passkey.util';
|
||||
|
||||
test.beforeEach(() => cleanupBackend());
|
||||
test.beforeEach(async () => await cleanupBackend());
|
||||
|
||||
test.describe('User Signup', () => {
|
||||
async function setSignupMode(page: any, mode: 'Disabled' | 'Signup with token' | 'Open Signup') {
|
||||
|
||||
Reference in New Issue
Block a user