Is there a way to test whether a system map is started? We’re restarting the system in our test fixtures before each test, but on the first run, halting fails because the system was never started.
What you suggested is exactly what I ended up doing! It seems like it’d be good to have a fn in integrant for that though.
AFAIK integrant adds metadata to a map, try checking if there is any
https://github.com/weavejester/integrant/blob/master/src/integrant/core.cljc#L336
Probably it makes sense to use same approach as integrant here: https://github.com/weavejester/integrant/blob/master/src/integrant/core.cljc#L443
Checking for this
(some-> system meta ::origin)
maybe it makes sense to introduce initiated? public fn to integrant to address the questionhope it is not too late 🙂