fix(tia): drop cached coverage of tests that no longer exist (#2000)

* fix(tia): drop cached coverage of tests that no longer exist

A deleted or renamed test never runs again, so its hits stayed in
coverage.bin.gz and --min passed on a real coverage drop.

Fixes #1957

* Update deleted coverage success snapshot

---------

Co-authored-by: Tiago Santos <tsantos@lynixt.pt>
Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
This commit is contained in:
Tiago Santos
2026-11-03 14:02:39 +00:00
committed by GitHub
parent 0224b4238b
commit 58570721c7
4 changed files with 114 additions and 8 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ test('parallel', function () use ($run): void {
$output = $run('--exclude-group=integration');
$output = implode("\n", array_slice(explode("\n", (string) $output), -10));
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 28 skipped, 1607 passed (3534 assertions)';
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 29 skipped, 1607 passed (3534 assertions)';
expect($output)
->toContain("Tests: {$expected}")