This commit is contained in:
nuno maduro
2026-08-07 01:41:32 +01:00
parent cc7acfe485
commit 37bdf60a1c
6 changed files with 53 additions and 16 deletions
+2 -2
View File
@@ -170,8 +170,8 @@ test('a project below the git repository root refuses to run and writes nothing'
expect($result->exitCode)->toBe(1, $result->describe())
->and($result->output)->toContain('Tia mode requires the git repository root')
->and(is_dir($project->path('.home/.pest')))->toBeFalse()
->and(is_dir($nested.DIRECTORY_SEPARATOR.'.pest'))->toBeFalse();
->and($project->path('.home/.pest'))->not->toBeDirectory()
->and($nested.DIRECTORY_SEPARATOR.'.pest')->not->toBeDirectory();
})->with(Project::SEQUENTIAL_AND_PARALLEL)->skipOnWindows();
test('a repository with no commits says so, and leaves plain runs alone', function (): void {
+1 -1
View File
@@ -133,7 +133,7 @@ test('no published baseline yet starts a cooldown, and a corrupt cooldown does n
expect($first->exitCode)->toBe(0, $first->describe())
->and($first->output)->toContain('No baseline published yet')
->and(is_file($project->graphDir().DIRECTORY_SEPARATOR.'fetch-cooldown.json'))->toBeTrue();
->and($project->graphDir().DIRECTORY_SEPARATOR.'fetch-cooldown.json')->toBeFile();
$discardGraph();