Skip to content

Commit

Permalink
Apparently faked prompts can't run on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 28, 2024
1 parent 2d74f49 commit 655f44c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ public function testInteractiveSelectionOnWindowsSystemsSkipsInteractiveness()

public function testInteractiveSelectionOnUnixSystems()
{
ConsoleHelper::mockWindowsOs(false);
if (windows_os()) {
$this->markTestSkipped('Test is not applicable on Windows systems.');
}

Prompt::fake([
Key::DOWN, Key::SPACE,
Expand Down

0 comments on commit 655f44c

Please sign in to comment.