mockReturnValue ('yay!') To mock a TypeScript interface in jest, you only need an object that has the same functions as the interface.
確定! 回上一頁