fix: assert on deletedId in DELETE test to resolve unused-vars lint error
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -267,6 +267,7 @@ describe("DELETE /clients/:id", () => {
|
|||||||
expect(res.status).toBe(200);
|
expect(res.status).toBe(200);
|
||||||
const body = await res.json();
|
const body = await res.json();
|
||||||
expect(body.ok).toBe(true);
|
expect(body.ok).toBe(true);
|
||||||
|
expect(deletedId).toBe("client-uuid-1");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("returns 404 when client not found", async () => {
|
it("returns 404 when client not found", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user