midje.config/with-augmented-config isn't honored by midje.emission.colorize
Closed this issue · 0 comments
lverns commented
Given the following test, in a project that has no .midje.clj
(ns midje-demo.core-test
(:require [midje.sweet :refer :all]))
(fact "FIXME, I fail."
true => false)
Then (midje.repl/load-facts)
prints to stdout with color, as does (midje.config/with-augmented-config {:colorize false} (midje.repl/load-facts))
Adding a .midje.clj
with
(change-defaults :colorize false)
eliminates the colorization as desired.