Skip to content

The agent that grows with you

test(pm): the LSP node-runtime test opts into a trusted workspace

kshitijk4poord57cf08f2376
diff --git a/tests/pm/test_node_resolution.py b/tests/pm/test_node_resolution.py
index 7fd3465513e..93b7b1491eb 100644
--- a/tests/pm/test_node_resolution.py
+++ b/tests/pm/test_node_resolution.py
@@ -366,7 +366,7 @@ def test_lsp_node_server_inherits_pm_runtime_and_preserves_overrides(node_store,
script.chmod(0o755)
monkeypatch.setenv("PATH", "")
ctx = ServerContext(
- workspace_root=str(tmp_path), install_strategy="off",
+ workspace_root=str(tmp_path), install_strategy="off", trusted=True,
binary_overrides={"typescript": [str(script)]},
env_overrides={"typescript": {"LSP_FLAG": "project-value"}},
)