From c6856807d50ce17dddf0a351e55d0740c74e43f0 Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Thu, 22 Aug 2024 19:49:35 -0300 Subject: [PATCH] Test morphing with turbo stream component --- tests/Views/ComponentsTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/Views/ComponentsTest.php b/tests/Views/ComponentsTest.php index 2403bdf..7b3b402 100644 --- a/tests/Views/ComponentsTest.php +++ b/tests/Views/ComponentsTest.php @@ -115,6 +115,14 @@ public function streams() ->assertSee('', false) ->assertSee('', false) ->assertDontSee('target='); + + // Morphs... + $this->blade(<<<'BLADE' + +

Hello, World

+
+ BLADE) + ->assertSee('method="morph"', false); } /** @test */