feat: update filename check in Configuration class

This commit is contained in:
Punyapal Shah
2024-07-09 20:24:28 +05:30
parent eac7abebcb
commit 7d3118db65

View File

@ -19,7 +19,7 @@ final class Configuration
public function __construct(
string $filename,
) {
$this->filename = str_ends_with($filename, '/Pest.php') ? dirname($filename) : $filename;
$this->filename = str_ends_with($filename, DIRECTORY_SEPARATOR.'Pest.php') ? dirname($filename) : $filename;
}
/**