fix: update test assertion to match POSIX-normalized paths in Jest config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mohamed Ashraf 2026-04-08 12:12:26 +00:00
parent 4c70a21294
commit 8961b14d6f

View file

@ -122,7 +122,7 @@ class TestJestRootsConfiguration:
runtime_configs = [f for f in get_created_config_files() if "codeflash.runtime" in f.name]
assert len(runtime_configs) == 1, f"Expected 1 runtime config, got {len(runtime_configs)}"
config_content = runtime_configs[0].read_text(encoding="utf-8")
assert str(external_path) in config_content, "Runtime config should contain external test directory"
assert external_path.as_posix() in config_content, "Runtime config should contain external test directory"
clear_created_config_files()