mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
15 lines
298 B
PHP
15 lines
298 B
PHP
<?php
|
|
|
|
use Pest\Plugins\Retry;
|
|
|
|
it('orders by defects and stop on defects if when --retry is used ', function () {
|
|
$retry = new Retry;
|
|
|
|
$arguments = $retry->handleArguments(['--retry']);
|
|
|
|
expect($arguments)->toBe([
|
|
'--order-by=defects',
|
|
'--stop-on-failure',
|
|
]);
|
|
});
|