Skip to content

Commit 19f2bd5

Browse files
authored
Make DuskCommand compatible with Pest (#6)
1 parent 741a94b commit 19f2bd5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Console/DuskCommand.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class DuskCommand extends BaseDuskCommand
1616
*/
1717
protected $signature = 'dusk
1818
{--without-tty : Disable output to TTY}
19+
{--pest : Run the tests using Pest}
1920
{--without-percy : Disable percy snapshots}
2021
{--percy-target-branch= : Set the base branch for comparison}
2122
{--percy-target-commit= : Set the base commit SHA for comparison}';
@@ -92,7 +93,7 @@ protected function process()
9293
protected function processOptions()
9394
{
9495
return array_filter(array_slice($_SERVER['argv'], 2), function($param) {
95-
return !Str::startsWith($param, ['--without-tty', '--without-percy', '--percy-target-branch', '--percy-target-commit']);
96+
return !Str::startsWith($param, ['--without-tty', '--pest', '--without-percy', '--percy-target-branch', '--percy-target-commit']);
9697
});
9798
}
98-
}
99+
}

0 commit comments

Comments
 (0)