Skip to content

Autonomous AI sales agent powered by Claude Code or Codex. Finds prospects, writes cold emails, sends campaigns, handles replies, books meetings. No API keys needed — runs on your Claude or Codex subscriptions.

Read app.js as UTF-8 in the node render tests (Windows CI)

Ethan403fbb5d8b7d
diff --git a/tests/test_brain_provider.py b/tests/test_brain_provider.py
index a8820d8..b63a406 100644
--- a/tests/test_brain_provider.py
+++ b/tests/test_brain_provider.py
@@ -597,7 +597,7 @@ def _render_js(func: str, data, helpers=("escHtml", "formatDate")) -> str:
node = shutil.which("node")
if not node:
pytest.skip("node is not installed")
- source = (Path(dash.__file__).parent / "web" / "app.js").read_text()
+ source = (Path(dash.__file__).parent / "web" / "app.js").read_text(encoding="utf-8")
funcs = []
for name in (*helpers, func):
match = re.search(rf"^function {name}\(.*?^}}\n", source, re.S | re.M)