Poltergeist throws JS errors when js_errors: false

后端 未结 3 737
醉话见心
醉话见心 2021-02-07 03:57

I have a large test suite that is using poltergeist and capybara. I keep getting the following error:

One or more errors were raised in the Javascript code on t         


        
3条回答
  •  一向
    一向 (楼主)
    2021-02-07 04:47

    @Leonardo Galani

    According to the ruby style guide, your syntax comment isn't true. So the answer could be {js_errors: false} too.

    https://github.com/bbatsov/ruby-style-guide#hash-literals

提交回复
热议问题