test(auth): add comment to clarify DTO usage in register test

This commit is contained in:
Mathis HERRIOT
2026-01-20 15:27:14 +01:00
parent 9ef6bbfd96
commit 5f176def8c

View File

@@ -75,6 +75,7 @@ describe("AuthController", () => {
password: "password",
username: "test",
};
// biome-ignore lint/suspicious/noExplicitAny: Necessary to avoid defining full DTO in test
await controller.register(dto as any);
expect(authService.register).toHaveBeenCalledWith(dto);
});