MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _write_ts

Function _write_ts

tests/test_rationale.py:462–465  ·  view source on GitHub ↗
(tmp_path: Path, code: str)

Source from the content-addressed store, hash-verified

460
461
462def _write_ts(tmp_path: Path, code: str) -> Path:
463 p = tmp_path / "sample.ts"
464 p.write_text(textwrap.dedent(code))
465 return p
466
467
468def test_js_rationale_comment_extracted(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected