Stub isLoggedIn function and make it return true always. 15. const isLoggedInStub = sinon.stub(user, "isLoggedIn").returns(true);.
確定! 回上一頁