mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: description when before each fails
This commit is contained in:
7
tests/Visual/BeforeEachTestName.php
Normal file
7
tests/Visual/BeforeEachTestName.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
beforeEach(fn () => $this->latestDescription = self::$__latestDescription);
|
||||
|
||||
test('latest description', function () {
|
||||
expect($this->latestDescription)->toBe('latest description');
|
||||
});
|
||||
Reference in New Issue
Block a user