Files
livewire-charts/tests/LivewireAreaChartTest.php
2023-07-25 13:42:43 -05:00

26 lines
539 B
PHP
Executable File

<?php
namespace Asantibanez\LivewireCharts\Tests;
use Asantibanez\LivewireCharts\Charts\LivewireAreaChart;
use Livewire\Features\SupportTesting\Testable;
use Livewire\Livewire;
class LivewireAreaChartTest extends TestCase
{
private function buildComponent() : Testable
{
return Livewire::test(LivewireAreaChart::class);
}
/** @test */
public function can_build_component()
{
//Act
$component = $this->buildComponent();
//Assert
$this->assertNotNull($component);
}
}