So how can we make sure that function doesn't run, and we can just set it's output from within our unit tests? Mock the function.
確定! 回上一頁