expect (await fn()) vs await expect(fn()) for error tests with chai-as-promised. The problem scenario. Ah, writing tests for errors. It's fun, isn't it? Have you ...
確定! 回上一頁