Refactored tests with new Testable class

This commit is contained in:
asantibanez
2023-07-25 13:42:43 -05:00
parent 3dcc97bef3
commit c79dfeb0ab
6 changed files with 12 additions and 12 deletions

View File

@@ -3,12 +3,12 @@
namespace Asantibanez\LivewireCharts\Tests;
use Asantibanez\LivewireCharts\Charts\LivewireTreeMapChart;
use Livewire\Features\SupportTesting\Testable;
use Livewire\Livewire;
use Livewire\Testing\TestableLivewire;
class LivewireTreeMapChartTest extends TestCase
{
private function buildComponent() : TestableLivewire
private function buildComponent() : Testable
{
return Livewire::test(LivewireTreeMapChart::class);
}