React.jsを使用しているSinatraプロジェクトでPoltergeistを使用したテストを実施した場合に、 自環境では成功するのに Travis CI上で失敗するという事象に出会いました。 Travis上でのエラーログ Capybara::Poltergeist::JavascriptError: One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details). TypeError: 'undefined' is