File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 44
55* Understand by default that dart codes inside ` ~/.pub-cache ` are libraries and not projects, avoiding asking to import the project.
66* Avoid warnings about "No event handler for 'debug' during dap-debug tests".
7+ * Avoid outdated test tree after tests run.
78
89## 1.24.0
910
Original file line number Diff line number Diff line change @@ -332,6 +332,10 @@ POSITION is the test start position."
332332 " Handle test done notification."
333333 (lsp-dart-test-tree-mark-as-done test-id (- time test-start-time) result skipped))
334334
335+ (defun lsp-dart-test-tree--handle-all-done (_params )
336+ " Handle test done notification."
337+ (lsp-dart-test-tree--render))
338+
335339
336340; ;; Public
337341
@@ -408,6 +412,7 @@ POSITION is the test start position."
408412(add-hook 'lsp-dart-test-group-notification-hook #'lsp-dart-test-tree--handle-group )
409413(add-hook 'lsp-dart-test-start-notification-hook #'lsp-dart-test-tree--handle-start )
410414(add-hook 'lsp-dart-test-done-notification-hook #'lsp-dart-test-tree--handle-done )
415+ (add-hook 'lsp-dart-test-all-done-notification-hook #'lsp-dart-test-tree--handle-all-done )
411416
412417(provide 'lsp-dart-test-tree )
413418; ;; lsp-dart-test-tree.el ends here
You can’t perform that action at this time.
0 commit comments