diff --git a/tests/Mechanisms/RappasoftFrontendAssetsTest.php b/tests/Mechanisms/RappasoftFrontendAssetsTest.php index d5609bdb4..505ce2f2c 100644 --- a/tests/Mechanisms/RappasoftFrontendAssetsTest.php +++ b/tests/Mechanisms/RappasoftFrontendAssetsTest.php @@ -2,35 +2,32 @@ namespace Rappasoft\LaravelLivewireTables\Tests\Mechanisms; -use Rappasoft\LaravelLivewireTables\Tests\TestCase; use Rappasoft\LaravelLivewireTables\Mechanisms\RappasoftFrontendAssets; -use function Livewire\trigger; +use Rappasoft\LaravelLivewireTables\Tests\TestCase; class RappasoftFrontendAssetsTest extends TestCase { + /** @test */ + public function styles() + { + $assets = app(RappasoftFrontendAssets::class); + + $this->assertFalse($assets->hasRenderedRappsoftTableStyles); + + $this->assertStringStartsWith('', ltrim($assets->tableStyles())); + + $this->assertTrue($assets->hasRenderedRappsoftTableStyles); + } + + /** @test */ + public function scripts() + { + $assets = app(RappasoftFrontendAssets::class); + + $this->assertFalse($assets->hasRenderedRappsoftTableScripts); - /** @test */ - public function styles() - { - $assets = app(RappasoftFrontendAssets::class); - - $this->assertFalse($assets->hasRenderedRappsoftTableStyles); - - $this->assertStringStartsWith('', ltrim($assets->tableStyles())); - - $this->assertTrue($assets->hasRenderedRappsoftTableStyles); - } - - /** @test */ - public function scripts() - { - $assets = app(RappasoftFrontendAssets::class); - - $this->assertFalse($assets->hasRenderedRappsoftTableScripts); - - $this->assertStringStartsWith('