26 lines
539 B
PHP
Executable File
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);
|
|
}
|
|
}
|