Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase code coverage #56

Open
benoitf opened this issue Feb 16, 2024 · 0 comments
Open

Increase code coverage #56

benoitf opened this issue Feb 16, 2024 · 0 comments
Assignees

Comments

@benoitf
Copy link
Collaborator

benoitf commented Feb 16, 2024

it looks like we only have one unit test in the repository

$ yarn test                                                                                                                                                                                                                    ✓ src/authentication-service.spec.ts (1)
   ✓ An authentication token is converted to a session

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  13:48:08
   Duration  244ms (transform 81ms, setup 0ms, collect 103ms, tests 1ms, environment 0ms, prepare 43ms)
 % Coverage report from v8
---------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------
File                       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
---------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------
All files                  |   18.07 |       20 |    2.63 |   18.07 |
 authentication-server.ts  |   25.19 |      100 |       0 |   25.19 | 31-73,75-111,113-127
 authentication-service.ts |   24.42 |      100 |    4.76 |   24.42 | 100-109,112-117,120-163,166-167,170-180,183-245,248-256,259-283,286-293,296-388,391-393,396-432,435-449,452-464,467-472,475-484,487-499,502-537,540-552,555-564
 configuration.ts          |       0 |        0 |       0 |       0 | 1-66
 extension.ts              |       0 |        0 |       0 |       0 | 1-290
 keychain.ts               |   53.12 |      100 |       0 |   53.12 | 30-42,45-52,55-63
 logger.ts                 |      50 |      100 |       0 |      50 | 27-34,37-38,41-42,45-56,59-69,72-74
 podman-cli.ts             |       0 |        0 |       0 |       0 | 1-118
 util.ts                   |       0 |        0 |       0 |       0 | 1-33
---------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------
@dgolovin dgolovin self-assigned this Feb 20, 2024
@slemeur slemeur added this to the 1.0.0 milestone Feb 28, 2024
@nichjones1 nichjones1 removed this from the 1.0.0 milestone Mar 20, 2024
dgolovin added a commit to dgolovin/podman-desktop-redhat-account-ext that referenced this issue May 29, 2024
Related to redhat-developer#56.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
dgolovin added a commit to dgolovin/podman-desktop-redhat-account-ext that referenced this issue May 31, 2024
Related to redhat-developer#56.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
dgolovin added a commit to dgolovin/podman-desktop-redhat-account-ext that referenced this issue May 31, 2024
Related to redhat-developer#56.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
dgolovin added a commit that referenced this issue Jun 3, 2024
Related to #56.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants