expect(await fn()) vs await expect(fn()) for error tests with chai-as-promised
Originally published at coreycleary.me. This is a cross-post from my content blog. I publish new cont...
Tags: node, unittesting, javascript