mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 17:57:23 +01:00
fix: Pest.php file not loaded in certain environments
This commit is contained in:
@ -4,7 +4,6 @@ declare(strict_types=1);
|
||||
|
||||
use ParaTest\WrapperRunner\ApplicationForWrapperWorker;
|
||||
use ParaTest\WrapperRunner\WrapperWorker;
|
||||
use Pest\ConfigLoader;
|
||||
use Pest\Kernel;
|
||||
use Pest\Plugins\Actions\CallsHandleArguments;
|
||||
use Pest\TestSuite;
|
||||
@ -18,7 +17,7 @@ $bootPest = (static function (): void {
|
||||
$rootPath = dirname(PHPUNIT_COMPOSER_INSTALL, 2);
|
||||
$testSuite = TestSuite::getInstance($rootPath, $workerArgv->getParameterOption(
|
||||
'--test-directory',
|
||||
(new ConfigLoader($rootPath))->getTestsDirectory()
|
||||
'tests'
|
||||
));
|
||||
|
||||
$input = new ArgvInput();
|
||||
|
||||
Reference in New Issue
Block a user