Ignore doom-debug-mode in quiet! tests

This commit is contained in:
Henrik Lissner 2019-11-09 17:28:39 -05:00
parent a996dfdb6d
commit 967e32c084
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -243,6 +243,10 @@
(expand-file-name "path" doom-etc-dir) nil 'nomessage)))
(describe "quiet!"
:var (doom-debug-mode)
(before-each
(setq doom-debug-mode nil))
(it "suppresses output from message"
(expect (message "hello world") :to-output "hello world\n")
(expect (message "hello world") :to-output)