diff --git a/tests/Feature/PowerGridFieldsTest.php b/tests/Feature/PowerGridFieldsTest.php index 95584579..54e6799a 100644 --- a/tests/Feature/PowerGridFieldsTest.php +++ b/tests/Feature/PowerGridFieldsTest.php @@ -5,6 +5,36 @@ use function PowerComponents\LivewirePowerGrid\Tests\Plugins\livewire; +it('removes ']); + + livewire($component) + ->call($params->theme) + ->assertDontSeeHtml('<script>alert') + ->assertDontSeeHtml('