I think there is room for testing helpers in the package. Something like:
$this->turbo()->post()
// or
$this->turboPost()
I think I prefer the first one, because the second one would require adding more test methods, while the first one would simply add the specific header.
Also, some assertion helpers, something like:
$response->assertTurboStream()
Not sure if we can add helpers to check the streams, like if there was an append to a specific target or something like that.
I think there is room for testing helpers in the package. Something like:
I think I prefer the first one, because the second one would require adding more test methods, while the first one would simply add the specific header.
Also, some assertion helpers, something like:
Not sure if we can add helpers to check the streams, like if there was an append to a specific target or something like that.