Skip to content

Conversation

@lgmorand
Copy link
Collaborator

  • node modules were missing
  • update dependencies to fix some vulnerabilities

@lgmorand
Copy link
Collaborator Author

Note. unit tests are failing with Github actions but work fine locally

PS D:\Repos\docker-login2> npm test 

> [email protected] test
> jest

::error::Error: Input required and not supplied: username
 PASS  __tests__/login.test.ts
  Testing all files in login file.
    √ run() - create authtoken and make config file if it doesn't exist (8 ms)                                                                                                  
    √ run() - create authtoken and append to existing config file (2 ms)                                                                                                        
    √ run() - overwrite existing config file if unable to parse (1 ms)                                                                                                          
    √ run() - overwrite existing file if retrieved config json does not have required fields (2 ms)                                                                             
                                                                                                                                                                                
Test Suites: 1 passed, 1 total                                                                                                                                                  
Tests:       4 passed, 4 total                                                                                                                                                  
Snapshots:   0 total
Time:        2.741 s
Ran all test suites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant