exercism / exercism/javascript

Javascript 'Promises' exercise testing problems

Aperta
#1,736 2 commenti 0 reazioni 1 assegnatario Rivendicata da @SleeplessByte Vedi su GitHub
Lingua principale
JavaScript
Stelle
652
Fork
657
Merge medio
19h 37m
PR unite (30g)
6

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.