refine code

This commit is contained in:
geekan 2024-01-05 20:23:05 +08:00
parent 2018c06cce
commit a63571ee30
2 changed files with 1 additions and 4 deletions

View file

@ -20,7 +20,6 @@ async def test_mermaid(engine):
# ink prerequisites: connected to internet
# playwright prerequisites: playwright install --with-deps chromium
assert check_cmd_exists("npm") == 0
assert CONFIG.PYPPETEER_EXECUTABLE_PATH
CONFIG.mermaid_engine = engine
save_to = CONFIG.git_repo.workdir / f"{CONFIG.mermaid_engine}/1"