diff --git a/src/K6.php b/src/K6.php index 443c256..3bf23c5 100644 --- a/src/K6.php +++ b/src/K6.php @@ -135,7 +135,7 @@ private static function extractZip(string $fileName): void */ private static function arch(): string { - if(self::os() === 'windows') { + if (self::os() === 'windows') { return 'amd64'; } diff --git a/src/Run.php b/src/Run.php index ba190c5..0f52beb 100644 --- a/src/Run.php +++ b/src/Run.php @@ -7,10 +7,13 @@ use Pest\Exceptions\ShouldNotHappen; use Pest\Stressless\Printers\Detail; use Pest\Stressless\Printers\Progress; +use Pest\Support\Container; use RuntimeException; +use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Process\Process; use function Termwind\render; +use function Termwind\renderUsing; /** * @internal @@ -40,6 +43,10 @@ public function __construct( */ public function start(): Result { + renderUsing( + Container::getInstance()->get(OutputInterface::class) + ); + $concurrency = $this->options['stages'][0]['target']; $duration = (int) $this->options['stages'][0]['duration'];