mirror of
https://github.com/pestphp/pest.git
synced 2026-07-24 10:30:03 +02:00
feat: adds flaky
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
it('fails after exhausting all retries', function () {
|
||||
throw new Exception('Always fails');
|
||||
})->flaky(tries: 2);
|
||||
Reference in New Issue
Block a user