angular-authentication icon indicating copy to clipboard operation
angular-authentication copied to clipboard

Unit tests

Open nikosanif opened this issue 4 years ago • 2 comments

Description

Currently, the application does not have any tests. Thus, we should write unit tests.

Motivation

Testing your Angular application helps you check that your app is working as you expect.

Suggested Implementation

  • Migrate from Karma to Jest
  • Start adding unit tests

Alternate Implementations

N/A

nikosanif avatar Dec 17 '21 14:12 nikosanif

Nice motivation @nikosanif! I would also suggest to use Spectator to simplify unit tests, as it helps us get rid of all the boilerplate grunt work. What do you think?

theoklitosBam7 avatar Jan 08 '22 13:01 theoklitosBam7

Sure! I have not used it at all in the past and it looks quite interesting. Besides, the libraries provided by ngneat are quite strong! @theoklitosBam7 keep in mind that PRs are more than welcome! 😄

nikosanif avatar Jan 08 '22 14:01 nikosanif