feat(contributor-scan): retain first-party JavaScript tests in graphs

This commit is contained in:
Marius Ciepluch
2026-09-13 11:29:48 +02:00
parent d02406e758
commit 51fabef9ea
15 changed files with 1329 additions and 26 deletions
+2
View File
@@ -168,6 +168,8 @@ def test_explicit_build_budget_is_retained_without_mutating_backend(tmp_path: Pa
calls.append(kwargs["timeout"])
if "--output" in command:
Path(command[command.index("--output") + 1]).write_bytes(b"graph fixture")
elif "-o" in command:
Path(command[command.index("-o") + 1]).write_bytes(b"graph fixture")
return subprocess.CompletedProcess(command, 0, f'{BEGIN}\n{{"r":[]}}\n{END}', "")
monkeypatch.setattr(module.shutil, "which", lambda name: name)