igniteui-cli
igniteui-cli copied to clipboard
[igx-ts] Refactor Authentication template JWT-Utils module
Description
The jwt-utils.ts currently exports all of its util function individually. This leads to some complications when trying to spy on these util functions in the component's spec file.
- Ignite UI CLI version: 5.0.x
- Framework: Angular
- Project type: igx-ts
Proposed Change
We should consider refactoring the file to export a static class (much like we do for our internal Utils class), so that we do not have to employ workarounds in the test file.