chore: update config
This commit is contained in:
parent
584ba6e536
commit
cb2ff3574e
13 changed files with 270 additions and 204 deletions
22
lua/custom/plugins/tests.lua
Normal file
22
lua/custom/plugins/tests.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
return {
|
||||
"nvim-neotest/neotest",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"sidlatau/neotest-dart"
|
||||
},
|
||||
config = function()
|
||||
require('neotest').setup({
|
||||
adapters = {
|
||||
require('neotest-dart') {
|
||||
command = 'fvm flutter', -- Command being used to run tests. Defaults to `flutter`
|
||||
-- Change it to `fvm flutter` if using FVM
|
||||
-- change it to `dart` for Dart only tests
|
||||
use_lsp = true, -- When set Flutter outline information is used when constructing test name.
|
||||
-- Useful when using custom test names with @isTest annotation
|
||||
custom_test_method_names = {},
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue