Skip to content

Commit daf21ca

Browse files
committed
tests: useVite
1 parent 36f8d45 commit daf21ca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/BuilderTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111

1212
class BuilderTest extends TestCase
1313
{
14+
/** @test */
15+
public function it_can_use_vitejs_module_script()
16+
{
17+
Builder::useVite();
18+
19+
$this->assertStringContainsString('type="module"', $this->getHtmlBuilder()->scripts()->toHtml());
20+
}
21+
1422
/** @test */
1523
public function it_can_resolved_builder_class()
1624
{

0 commit comments

Comments
 (0)