Chiedo Labs Web Development Harrisonburg VA & Charlottesville VA web design
Picture of Ricardo

Making my tests pass and fail properly using mocha and ansync/ await.


Recently I was adding tests to an app written in node and express. The app utilizes mocha for testing. The previously written tests, which used Promises, were working well. We had recently upgraded node for the app so I wanted to write my new tests with Async / Await. I don’t get into the details […]

Read more