ãã®promiseãªãã¸ã§ã¯ãã¯ãresolveããã®ã§ã.then ã®ç¬¬ä¸å¼æ°ã§æå®ããonFulfilled ã³ã¼ã«ããã¯ã« true ã¨ããå¤ã渡ãããã«ãªã£ã¦ã¾ãã ä»ã¾ã§ã®ãã¹ãã®æ¸ãæ¹ ãã®getSuccessPromiseã 1.18.0ãã以åã¯ä»¥ä¸ã®ããã«æ¸ããã¨ã§ãã¹ãããã¦ãã¾ããã it("should manually handling test...", function (done) { getSuccessPromise().then(function (value) { assert(value); done(); }).catch(done); // <= ãã®catchãä»åã®å¤æ´ã§ã®ç¦ç¹ }); getSuccessPromise()ã®è¿ãå¤ã§ããpromiseãªãã¸ã§ã¯ããresolveããã㨠value ã« true ãå ¥ã£ã¦ assert(t
{{#tags}}- {{label}}
{{/tags}}