mirror of
https://github.com/pestphp/pest.git
synced 2026-12-04 06:55:05 +01:00
17 lines
349 B
PHP
17 lines
349 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\TestCaseMethodFilters;
|
|
|
|
use Pest\Contracts\TestCaseMethodFilter;
|
|
use Pest\Factories\TestCaseMethodFactory;
|
|
|
|
final readonly class NotesTestCaseFilter implements TestCaseMethodFilter
|
|
{
|
|
public function accept(TestCaseMethodFactory $factory): bool
|
|
{
|
|
return $factory->notes !== [];
|
|
}
|
|
}
|