Skip to content

Commit e6b9640

Browse files
committed
fix: remove stale test_string kwarg from JS instrument_existing_test
1 parent b43b37b commit e6b9640

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

codeflash/languages/javascript/support.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,9 +2277,7 @@ def instrument_existing_test(
22772277
"""
22782278
from codeflash.languages.javascript.instrument import inject_profiling_into_existing_js_test
22792279

2280-
test_string = test_path.read_text(encoding="utf-8")
22812280
return inject_profiling_into_existing_js_test(
2282-
test_string=test_string,
22832281
test_path=test_path,
22842282
call_positions=list(call_positions),
22852283
function_to_optimize=function_to_optimize,

0 commit comments

Comments
 (0)