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

@@ -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: [] } });