Mocha allows you to use any assertion library you wish. In the above example, we're using Node.js' built-in assert module — but generally, if it throws an Error ...
確定! 回上一頁