1
0
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:
Kyle Mendell
2025-08-20 03:38:03 -05:00
committed by GitHub
parent d28bfac81f
commit f5b5b1bd85
10 changed files with 10 additions and 10 deletions

View File

@@ -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') {