From 7f78275006afc5f093c174239cc47e3808e0516f Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 10 Jan 2025 12:58:41 +0100 Subject: [PATCH] debug --- api_tests/src/image.spec.ts | 2 +- api_tests/src/shared.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api_tests/src/image.spec.ts b/api_tests/src/image.spec.ts index 1e8c66cba..d25ab7f4c 100644 --- a/api_tests/src/image.spec.ts +++ b/api_tests/src/image.spec.ts @@ -37,7 +37,7 @@ import { beforeAll(setupLogins); afterAll(async () => { - //await Promise.all([unfollows(), deleteAllImages(alpha)]); + await Promise.all([unfollows(), deleteAllImages(alpha)]); }); test("Upload image and delete it", async () => { diff --git a/api_tests/src/shared.ts b/api_tests/src/shared.ts index c406ff150..1e6d35ffb 100644 --- a/api_tests/src/shared.ts +++ b/api_tests/src/shared.ts @@ -939,6 +939,7 @@ export async function deleteAllImages(api: LemmyHttp) { token: image.local_image.pictrs_delete_token, filename: image.local_image.pictrs_alias, }; + console.log("delete image: " + form); return form; }) .map(form => api.deleteImage(form)),