Rather than module methods, consider exporting a Config class. This way I can create multiple instances of config, and config is injectable in a more straightforward manner (instead of injecting the module instance we inject the class instance, and thereby more easily mocked in tests.
Rather than module methods, consider exporting a Config class. This way I can create multiple instances of config, and config is injectable in a more straightforward manner (instead of injecting the module instance we inject the class instance, and thereby more easily mocked in tests.