From 7cd42aafd805a02526424428e4f1ad248d2ef327 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 24 Sep 2024 10:23:32 +0100 Subject: [PATCH] fix: auto-complete on presets --- src/PendingCalls/TestCall.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PendingCalls/TestCall.php b/src/PendingCalls/TestCall.php index 9884dfff..c866eb31 100644 --- a/src/PendingCalls/TestCall.php +++ b/src/PendingCalls/TestCall.php @@ -5,6 +5,7 @@ declare(strict_types=1); namespace Pest\PendingCalls; use Closure; +use Pest\Concerns\Testable; use Pest\Exceptions\InvalidArgumentException; use Pest\Exceptions\TestDescriptionMissing; use Pest\Factories\Attribute; @@ -25,9 +26,9 @@ use PHPUnit\Framework\TestCase; /** * @internal * - * @mixin HigherOrderCallables|TestCase + * @mixin HigherOrderCallables|TestCase|Testable */ -final class TestCall +final class TestCall // @phpstan-ignore-line { use Describable;