nice-park-1669303/16/2023, 5:36 PM
. I get that the dependency won't be packaged when I wrap up my production code, but it feels like it's very easy for me to accidentally introduce dependencies on the "wrong" things in prod code. The obvious idiom seems to be that I would create a second resolve and move the test stuff there, but then I suddenly have to parametrise lots and lots of things because I need production code to be usable in both resolves and test-only dependencies need to become more verbose too. Is there perhaps a way to "layer" resolves so that my test one "extends from" my production one, and pick different resolves by default for prod vs test?
curved-television-656803/16/2023, 5:47 PM
nice-park-1669303/16/2023, 5:53 PM
busy-vase-3920203/16/2023, 6:26 PM