(self, tmp_path)
| 1616 | assert "export default" in content |
| 1617 | |
| 1618 | def test_idempotent(self, tmp_path): |
| 1619 | with patch("code_review_graph.skills.Path.home", return_value=tmp_path): |
| 1620 | install_opencode_plugin() |
| 1621 | result = install_opencode_plugin() |
| 1622 | content = result.read_text() |
| 1623 | assert "export default" in content |
| 1624 | # Only one default export in the file |
| 1625 | assert content.count("export default") == 1 |
| 1626 | |
| 1627 | def test_plugin_is_typescript(self, tmp_path): |
| 1628 | with patch("code_review_graph.skills.Path.home", return_value=tmp_path): |
nothing calls this directly
no test coverage detected