Commit cdd0024
committed
fix(tests): avoid slow package-manager fallthrough in Homebrew detection test
The 'does not detect brew for non-Homebrew paths' test was calling
detectInstallationMethod() with no DB entry and no /Cellar/ path, causing
it to fall through the full package manager detection chain (which is slow
in CI and can time out at 5000ms). Replace with a direct string assertion
that validates the /Cellar/ check without triggering the slow path.1 parent 5fdfa1b commit cdd0024
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
507 | 510 | | |
508 | 511 | | |
509 | 512 | | |
510 | 513 | | |
511 | 514 | | |
512 | | - | |
513 | | - | |
514 | | - | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
515 | 520 | | |
516 | 521 | | |
517 | 522 | | |
| |||
0 commit comments