Skip to content

Commit 825bc08

Browse files
authored
fix: update nvim-dap-ruby strategy config (#72)
1 parent 281c0ed commit 825bc08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/neotest-rspec/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ function NeotestAdapter.build_spec(args)
154154
cwd = cwd or "${workspaceFolder}",
155155
current_line = true,
156156
random_port = true,
157+
request = "attach",
158+
error_on_failure = false, -- prevent nvim-dap-ruby from notifying user of exit code 1 from a test with failures.
159+
localfs = true,
160+
waiting = 1000,
157161
}
158162
end,
159163
}

0 commit comments

Comments
 (0)