Two obvious things we can test is that a property exists, or it doesn't. [02:30] Again, we use Jest's spyOn method to mock out componentWillReceiveProps ...
確定! 回上一頁