dimanche 3 janvier 2021

CI with github Nodejs CI action fails unexpectedly

After I have set up my GitHub workflow: Nodejs CI. I have encountered unexpected behaviour: ReferenceError: expect is not defined, for the repo: math-parser.

fails - node@12


But when testing in my local machine: asciicast


At the same time, when testing using jest and Nodejs@12, everything goes as expected.

succeedes - node@10


I don't think it is an issue with my setup. If you have a solution or know what is the reason behind this behaviour, please, let me know.

Aucun commentaire:

Enregistrer un commentaire