7 ms·
Your unit tests should just take the result of loading the file as an argument or other type of injection param. Then you can hardcode your unit test config par
by qwertycrackers 2y ago
Your unit tests should just take the result of loading the file as an argument or other type of injection param. Then you can hardcode your unit test config parameters in the test code itself. That's the appropriate place for this kind of indirection.