feat: adds see

This commit is contained in:
Nuno Maduro
2025-07-22 23:06:43 +01:00
parent 9172721ce8
commit be9c95e3bc
6 changed files with 43 additions and 24 deletions

11
tests/Features/See.php Normal file
View File

@ -0,0 +1,11 @@
<?php
use Pest\Panic;
it('can reference a specific class', function () {
expect(Panic::class)->toBeString();
})->see(Panic::class);
it('can reference a specific class method', function () {
expect(Panic::with(...))->toBeCallable();
})->see([Panic::class, 'with']);