We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64fb5d9 + 0b80f44 commit 38906bbCopy full SHA for 38906bb
lsp-dart-test-support.el
@@ -63,10 +63,15 @@ IGNORE-CASE is a optional arg to ignore the case sensitive on regex search."
63
(lsp-dart-flutter-command)
64
(lsp-dart-pub-command)))
65
66
+(defcustom lsp-dart-test-extra-args '()
67
+ "Extra arguments to be passed to test command (e.g: --no-sound-null-safety)."
68
+ :type '(repeat string)
69
+ :group 'lsp-dart)
70
+
71
(defun lsp-dart-test--build-command-extra-args ()
72
"Build the dart or flutter extra args."
73
(if (lsp-dart-flutter-project-p)
- '("test" "--machine")
74
+ (append '("test" "--machine") lsp-dart-test-extra-args)
75
'("run" "test" "-r" "json")))
76
77
(defun lsp-dart-test--build-test-name (names)
0 commit comments