I have implemented a module that should look exactly like a regular ES6 Promise; and I want to test it as such.
The files that test promises in the node tests are here: http://ift.tt/1miOu1L
However I cannot work out how to run these files. After putting in the requisite require for my own module the files fail with syntax errors of missing functions. I seem to be missing some kind of testing suite but can't work out which it is.
Aucun commentaire:
Enregistrer un commentaire