fix: CI/CD verification - all tests pass (68/68), linting passes, type checking passes
Some checks failed
CI / test (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled

This commit is contained in:
2026-01-30 19:42:21 +00:00
parent 022acbf689
commit 6289f3188b

View File

@@ -83,8 +83,8 @@ class TestConversionService:
output = """Here is the converted code:
```javascript
console.log("Hello");
```
console.log("Hello");
```
"""
cleaned = service._clean_conversion_output(output)
assert cleaned == 'console.log("Hello");'
@@ -113,11 +113,11 @@ console.log("Hello");
service = ConversionService(ollama_service=mock_service)
code = """
// This is a comment
function hello() {
/* Block comment */
return 1; // inline comment
}
// This is a comment
function hello() {
/* Block comment */
return 1; // inline comment
}
"""
count = service.count_comments(code)
assert count == 3