2015-06-12から1日間の記事一覧
node.jsのテストフレームワーク「mocha」を今更試してみました。 導入 $ npm install -g mocha 実際のところ ディレクトリ構造はこんな感じ。 $ tree -L 2 . ├── app │ └── configtest.js ├── config │ └── default.json ├── node_modules │ ├── config └── …
node.jsのテストフレームワーク「mocha」を今更試してみました。 導入 $ npm install -g mocha 実際のところ ディレクトリ構造はこんな感じ。 $ tree -L 2 . ├── app │ └── configtest.js ├── config │ └── default.json ├── node_modules │ ├── config └── …