This commit is contained in:
nuno maduro
2026-04-22 08:42:32 -07:00
parent 68527c996f
commit 660b57b365
7 changed files with 215 additions and 30 deletions

View File

@ -101,6 +101,13 @@ final class Sandbox
'GITHUB_ACTIONS' => '',
'GITLAB_CI' => '',
'CIRCLECI' => '',
// Force TIA's Storage to fall back to the sandbox-local
// `.pest/tia/` layout. Without this, every sandbox run
// would dump state into the developer's real home dir
// (`~/.pest/tia/`), polluting it and making tests
// non-hermetic.
'HOME' => '',
'USERPROFILE' => '',
],
);
$process->setTimeout(120.0);
@ -114,7 +121,7 @@ final class Sandbox
*/
public function graph(): ?array
{
$path = $this->path.'/vendor/pestphp/pest/.temp/tia/graph.json';
$path = $this->path.'/.pest/tia/graph.json';
if (! is_file($path)) {
return null;