From 6e7cbf1676c3bfef4c591a780c544c5d05d3997c Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 11 Apr 2024 15:13:02 +0200 Subject: [PATCH] prettier --- api_tests/src/image.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api_tests/src/image.spec.ts b/api_tests/src/image.spec.ts index 011a13a65..a2759f8c5 100644 --- a/api_tests/src/image.spec.ts +++ b/api_tests/src/image.spec.ts @@ -271,7 +271,7 @@ test("Make regular post, and give it a custom thumbnail", async () => { randomString(10), randomString(5), randomString(10), - upload1.url! + upload1.url!, ); // Wait for the metadata to get fetched, since this is backgrounded now @@ -306,10 +306,12 @@ test("Create an image post, and make sure a custom thumbnail doesnt overwrite it "https://example.com/", randomString(10), randomString(5), - upload2.url! + upload2.url!, ); expect(post.post_view.post.url).toBe(upload1.url); // Make sure the new custom thumbnail is ignored, and doesn't overwrite the image post expect(post.post_view.post.url).toBe(upload1.url); - expect(post.post_view.post.thumbnail_url).toBe(post.post_view.post.thumbnail_url); + expect(post.post_view.post.thumbnail_url).toBe( + post.post_view.post.thumbnail_url, + ); });