DEV Community

Discussion on: How I survive testing on NodeJs and Jest 🤒

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Looking at a glance, is PHP unit more declaratively wrote and therefore easier to follow if you are used to that mindset?

Collapse
 
avonnadozie profile image
Victor Anuebunwa • Edited

Well, I don't think any of them is easier to follow than the other.
In terms of style of writing, they are similar except when you have to deal with asynchronous operations in JavaScript. That's where the difficulty comes in.