mocha install npm install -g mocha do Test テストフォルダを作り、テストコードを入れる。ファイル名は任意で可。 mocha フォルダに入っているファイル全て実行される。