In the test above we are resolving Sinon method stub with a promise. ... 'bar') // true Use . return new Promise((resolve, reject) => Assert on a function's ...
確定! 回上一頁