diff --git a/tests/app.test.ts b/tests/app.test.ts index f8f7652..4893ae0 100644 --- a/tests/app.test.ts +++ b/tests/app.test.ts @@ -1,11 +1,4 @@ -import { - afterEach, - beforeAll, - describe, - expect, - it, - mock, -} from "bun:test"; +import { afterEach, beforeAll, describe, expect, it, mock } from "bun:test"; import request, { Response } from "supertest"; import app, { startApp } from "../src/app"; import imageService from "../src/services/ImageService"; @@ -86,8 +79,7 @@ describe("GET /images works properly", async () => { }, })); - const res = await request(app) - .get("/images"); + const res = await request(app).get("/images"); expect(res.status).toBe(500); });