diff --git a/core/autoload/test.el b/core/autoload/test.el index 6a0742c5a..002159f86 100644 --- a/core/autoload/test.el +++ b/core/autoload/test.el @@ -53,8 +53,11 @@ If neither is available, run all tests in all enabled modules." (error "Expected a list of cons, got: %s" modules))) (t - (setq modules (doom--module-pairs) - targets (list (expand-file-name "test/" doom-core-dir))))) + (let ((noninteractive t) + doom-modules) + (load (expand-file-name "init.test.el" user-emacs-directory) nil t) + (setq modules (doom--module-pairs) + targets (list (expand-file-name "test/" doom-core-dir)))))) ;; resolve targets to a list of test files and load them (cl-loop with targets = (append targets