Higher Order Tests now resolve callable expectations. The tap method now always returns the test case.

This commit is contained in:
luke
2021-07-06 14:05:40 +01:00
parent c290909eb3
commit 7e9edecc7f
5 changed files with 48 additions and 13 deletions

View File

@ -7,15 +7,15 @@ namespace Pest\PendingObjects;
use Closure;
use Pest\Factories\TestCaseFactory;
use Pest\Support\Backtrace;
use Pest\Support\HigherOrderCallables;
use Pest\Support\NullClosure;
use Pest\TestSuite;
use SebastianBergmann\Exporter\Exporter;
/*
* @mixin \Pest\Support\HigherOrderCallables
* @method \Pest\Expectations\Expectation expect(mixed $value)
*
/**
* @internal
*
* @mixin HigherOrderCallables
*/
final class TestCall
{