Description
Some tests were failing because the variables of envConfig were changed while they were running. Most likely, the variables were changed by the envService.isProduction
spyOn. Hence, the idea is to get all of them via a function.
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
Testing Process
unit tests