Skip to content

Commit

Permalink
fix: test-open with code coeverage doesn't save test result
Browse files Browse the repository at this point in the history
  • Loading branch information
finxxi committed Jul 25, 2024
1 parent 3bcf873 commit 354ebd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/sf/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ P.set_keys = function()
vim.keymap.set('n', 'CC', function()
local cmd = P.build_tests_cmd(U.cmd_coverage_params) .. ' -o ' .. U.get()
P.close()
T.run(cmd)
T.run(cmd, H.save_test_coverage_locally)
U.last_tests = cmd
P.selected_tests = {}
end, { buffer = true, noremap = true })
Expand Down

0 comments on commit 354ebd5

Please sign in to comment.