The simplest form of stubbing is replacing a function with a dummy implementation which does nothing: const stub = sinon.stub();.
確定! 回上一頁