feat: note()

This commit is contained in:
Nuno Maduro
2024-06-27 01:26:54 +01:00
parent d9252e85d6
commit 5c3bf469d5
10 changed files with 118 additions and 3 deletions

View File

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Pest\TestCaseMethodFilters;
use Pest\Contracts\TestCaseMethodFilter;
use Pest\Factories\TestCaseMethodFactory;
final class NotesTestCaseFilter implements TestCaseMethodFilter
{
public function accept(TestCaseMethodFactory $factory): bool
{
return count($factory->notes) > 0;
}
}