Fork me on GitHub
#polylith
<
2022-11-23
>
Hukka09:11:17

poly shell
#error {
 :cause   Error in ./deps.edn: {:aliases {:test {:extra-paths ["missing required key"]}}}
I understand the error, indeed the test alias does not have extra-paths. But why does it need to?

tengstrand11:11:28

Would it be okay for you to have it like this {:aliases {:test {:extra-paths [] .... ?

Hukka11:11:55

Sure, but is there a reason it's required?

tengstrand11:11:27

It was just a decision made at some point, that you need to specify your test paths (which could be empty).

tengstrand11:11:03

I think the reasoning was to make it more explicit.

seancorfield20:11:56

Requiring it makes you think about why you don't have any tests 🙂

😁 2
Hukka08:11:47

Well, in our case the whole test alias is just to add dependency to kaocha, which has the test paths in a separate config