Josep Pueyo-Ros :rstats: · @jospueyo
23 followers · 144 posts · Server fosstodon.org
Jiri Sifalda · @jsifalda
4 followers · 46 posts · Server hachyderm.io

(if you don't call your API/DB sync way, will not wait till the request is finished, meaning test results will not be stored.)
disclaimer: maybe it still works on different envs than darwin (macs) but not based on what I was reading... 🤷‍♂️

#mochajs

Last updated 2 years ago

Jiri Sifalda · @jsifalda
4 followers · 45 posts · Server hachyderm.io

Now, why is there still a use case for needing sync code execution (instead of async)? Well, many reasons, like writing a custom runner (@Cypress_io@twitter.com uses mocha as well) where you need to send results to any database a the end of the test run - basic use case.

#mochajs

Last updated 2 years ago