diff --git a/lua/neotest-jest/init.lua b/lua/neotest-jest/init.lua index 764f585..7282048 100644 --- a/lua/neotest-jest/init.lua +++ b/lua/neotest-jest/init.lua @@ -222,7 +222,7 @@ function adapter.build_spec(args) "--json", "--outputFile=" .. results_path, "--testNamePattern=" .. testNamePattern, - pos.path, + string.gsub(pos.path, '\\', '/'), }) local cwd = getCwd(pos.path)