mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Pass description into describe call
This commit is contained in:
@ -26,21 +26,16 @@ final class DescribeCall
|
||||
*/
|
||||
private ?BeforeEachCall $currentBeforeEachCall = null;
|
||||
|
||||
/**
|
||||
* The unique description for this describe block
|
||||
*/
|
||||
private readonly Description $description;
|
||||
|
||||
/**
|
||||
* Creates a new Pending Call.
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly TestSuite $testSuite,
|
||||
public readonly string $filename,
|
||||
string $description,
|
||||
public readonly Description $description,
|
||||
public readonly Closure $tests
|
||||
) {
|
||||
$this->description = new Description($description);
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user