diff --git a/src/Configuration.php b/src/Configuration.php index 03d357a2..1eb53ed0 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -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; } /**