fix lib bin dir and archivebox add hanging

This commit is contained in:
Nick Sweeting
2026-01-01 16:58:47 -08:00
parent 9008cefca2
commit c2afb40350
8 changed files with 69 additions and 26 deletions

View File

@@ -60,13 +60,15 @@ def test_extracts_screenshot_from_example_com():
tmpdir = Path(tmpdir)
# Run screenshot extraction hook
env = get_test_env()
print(f"\n[DEBUG] NODE_V8_COVERAGE={env.get('NODE_V8_COVERAGE', 'NOT SET')}", file=sys.stderr)
result = subprocess.run(
['node', str(SCREENSHOT_HOOK), f'--url={TEST_URL}', '--snapshot-id=test789'],
cwd=tmpdir,
capture_output=True,
text=True,
timeout=120,
env=get_test_env()
env=env
)
assert result.returncode == 0, f"Extraction failed: {result.stderr}"