exercism / exercism/javascript

Javascript 'Promises' exercise testing problems

Ouverte
#1,736 2 commentaires 0 réactions 1 personne assignée Réclamée par @SleeplessByte Voir sur GitHub
Langage dominant
JavaScript
Étoiles
652
Forks
657
Merge moyen
19 h 37 min
PR mergées (30 j)
6

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.