Skip to content

Commit f558f5c

Browse files
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash into multi-language
2 parents ecbace9 + aef580b commit f558f5c

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/test_languages/test_js_code_extractor.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from unittest.mock import MagicMock
99

1010
import pytest
11-
1211
from codeflash.discovery.functions_to_optimize import FunctionToOptimize
1312
from codeflash.languages.base import Language
1413
from codeflash.languages.javascript.support import JavaScriptSupport, TypeScriptSupport
@@ -1137,12 +1136,6 @@ def test_function_optimizer_workflow(self, cjs_project):
11371136
)
11381137
result = func_optimizer.get_code_optimization_context()
11391138

1140-
from codeflash.either import is_successful
1141-
1142-
if not is_successful(result):
1143-
error_msg = result.failure() if hasattr(result, "failure") else str(result)
1144-
pytest.skip(f"Context extraction not fully implemented: {error_msg}")
1145-
11461139
context = result.unwrap()
11471140

11481141
assert context.read_writable_code is not None, "read_writable_code should not be None"

0 commit comments

Comments
 (0)