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

Function _write_ts

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

Source from the content-addressed store, hash-verified

267
268
269def _write_ts(tmp_path: Path, code: str) -> Path:
270 p = tmp_path / "sample.ts"
271 p.write_text(textwrap.dedent(code))
272 return p
273
274
275def test_js_rationale_comment_extracted(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected