Rails5.1(Webpacker使用)にフロントのユニットテスト環境を構築してみました。 自分自身の備忘録としてフロントのユニットテスト環境構築をメモっときます。 ※Webpackerは導入済みとして話を進めていきます Karmaでとりあえずテストを走らせるまで Karamaのインストール karma init Which testing framework do you want to use ? Press tab to list possible options. Enter to move to the next question. > mocha Do you want to use Require.js ? This will add Require.js plugin. Press tab to list possible options. Enter to move t