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 摘要。