chore: add TODO comment in contents service test regarding TS2774 warning

This commit is contained in:
Mathis HERRIOT
2026-01-08 17:15:25 +01:00
parent 64adc80062
commit a5a8626f5d

View File

@@ -72,6 +72,8 @@ describe("ContentsService", () => {
};
for (const mock of Object.values(chain)) {
//TODO Fix : TS2774: This condition will always return true since this function is always defined. Did you mean to call it instead?
if (mock.mockReturnValue) {
mock.mockImplementation(mockImplementation);
}