"scripts": { "test": "mocha" }. Then run tests with: $ npm test ... The latter example uses Chai as Promised for fluent promise assertions.
確定! 回上一頁