Mocha's Magic done
Parameter
Why a #mocha #test times out, when I write it like this: it('...', _ => {});
but it does NOT time out, when I write: it('...', () => {});
? Exactly, because the _
is the magic done
, that one needs to call.
Originally posted at http://wolframkriesing.micro.blog/2019/12/02/why-a-mocha.html