Ignore doom-debug-mode in quiet! tests
This commit is contained in:
parent
a996dfdb6d
commit
967e32c084
1 changed files with 4 additions and 0 deletions
|
@ -243,6 +243,10 @@
|
||||||
(expand-file-name "path" doom-etc-dir) nil 'nomessage)))
|
(expand-file-name "path" doom-etc-dir) nil 'nomessage)))
|
||||||
|
|
||||||
(describe "quiet!"
|
(describe "quiet!"
|
||||||
|
:var (doom-debug-mode)
|
||||||
|
(before-each
|
||||||
|
(setq doom-debug-mode nil))
|
||||||
|
|
||||||
(it "suppresses output from message"
|
(it "suppresses output from message"
|
||||||
(expect (message "hello world") :to-output "hello world\n")
|
(expect (message "hello world") :to-output "hello world\n")
|
||||||
(expect (message "hello world") :to-output)
|
(expect (message "hello world") :to-output)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue