exercism / exercism/javascript

Javascript 'Promises' exercise testing problems

未關閉
#1,736 2 則留言 0 個 reaction 已指派 1 人 已被 @SleeplessByte 認領 在 GitHub 檢視
主要語言
JavaScript
星號
652
分支
657
平均合併
19 小時 37 分鐘
30 天內合併 PR
6

描述

There is something if not bugged at least not ideal with the 'Promises' excercise in the javascript track, I had the first function written in a way I was sure was correct but it kept crashing when I ran the tests despite the rest of the functions being 'throw new Error('Remove this statement and implement this function');'. But when I found someone else's code and copied their solution for the rest of the functions (keeping my implementation of the first function 'promisify') it worked perfectly fine.

With some more testing it seems that if the 'promisify' function (the first function in the exercise) is correctly implemented but the 'any' function (which is the last function) isn't implemented the tests will always crash which makes testing your solutions to the different parts of the exercise rather frustrating.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。