chore: add TODO comment in contents service test regarding TS2774 warning
This commit is contained in:
@@ -72,6 +72,8 @@ describe("ContentsService", () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
for (const mock of Object.values(chain)) {
|
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) {
|
if (mock.mockReturnValue) {
|
||||||
mock.mockImplementation(mockImplementation);
|
mock.mockImplementation(mockImplementation);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user