fmt
This commit is contained in:
parent
a59f951500
commit
106c1b8726
|
@ -1,11 +1,4 @@
|
||||||
import {
|
import { afterEach, beforeAll, describe, expect, it, mock } from "bun:test";
|
||||||
afterEach,
|
|
||||||
beforeAll,
|
|
||||||
describe,
|
|
||||||
expect,
|
|
||||||
it,
|
|
||||||
mock,
|
|
||||||
} from "bun:test";
|
|
||||||
import request, { Response } from "supertest";
|
import request, { Response } from "supertest";
|
||||||
import app, { startApp } from "../src/app";
|
import app, { startApp } from "../src/app";
|
||||||
import imageService from "../src/services/ImageService";
|
import imageService from "../src/services/ImageService";
|
||||||
|
@ -86,8 +79,7 @@ describe("GET /images works properly", async () => {
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const res = await request(app)
|
const res = await request(app).get("/images");
|
||||||
.get("/images");
|
|
||||||
|
|
||||||
expect(res.status).toBe(500);
|
expect(res.status).toBe(500);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue