That code needs to be tested, and it's always a struggle to remember how to mock/stub or spy on Date. js (using a manual Mock, jest automatically locates mocks ...
確定! 回上一頁