I needed the ability to trigger JS live view hooks using Pages. This PR is pretty simple, it just delegates to LiveViewTest.render_hook/3. Note that I changed import Phoenix.LiveViewTest to alias Phoenix.LiveViewTest. I like the explicitness, plus there was a collision between the imported Phoenix.LiveViewTest.render_hook/3 and our new Pages.Driver.LiveView.render_hook/3
I needed the ability to trigger JS live view hooks using Pages. This PR is pretty simple, it just delegates to
LiveViewTest.render_hook/3
. Note that I changedimport Phoenix.LiveViewTest
toalias Phoenix.LiveViewTest
. I like the explicitness, plus there was a collision between the importedPhoenix.LiveViewTest.render_hook/3
and our newPages.Driver.LiveView.render_hook/3