mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 10:11:35 +10:00
chore: updated GitHub Action
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
import { deleteUser } from '@documenso/lib/server-only/user/delete-user';
|
||||
|
||||
async function teardown() {
|
||||
if (!process.env.E2E_TEST_USERNAME) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
await deleteUser(process.env.E2E_TEST_USERNAME);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user