promise allows to create fake promises that expose their internal state and can be resolved or rejected on demand. Creating a promise. var promise = sinon.
確定! 回上一頁