Skip to content

Commit c13e443

Browse files
authored
[10.x] Add --test and --pest options to make:component (#47894)
1 parent 459d454 commit c13e443

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Illuminate/Foundation/Console/ComponentMakeCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Illuminate\Foundation\Console;
44

5+
use Illuminate\Console\Concerns\CreatesMatchingTest;
56
use Illuminate\Console\GeneratorCommand;
67
use Illuminate\Foundation\Inspiring;
78
use Illuminate\Support\Str;
@@ -11,6 +12,8 @@
1112
#[AsCommand(name: 'make:component')]
1213
class ComponentMakeCommand extends GeneratorCommand
1314
{
15+
use CreatesMatchingTest;
16+
1417
/**
1518
* The console command name.
1619
*

0 commit comments

Comments
 (0)