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

feat: Add Unit Tests #6

Open
3 tasks
berntpopp opened this issue Jul 29, 2024 · 1 comment
Open
3 tasks

feat: Add Unit Tests #6

berntpopp opened this issue Jul 29, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@berntpopp
Copy link
Member

Description

Introduce unit tests to ensure the script's functionality is robust and to catch any regressions during development.

Solution

  1. Use a testing framework like jest or mocha to write unit tests for the script.
  2. Write tests for key functionalities such as authentication, fetching download links, and downloading files.
  3. Ensure tests cover edge cases and error handling.

Tasks

  • Integrate a testing framework.
  • Write unit tests for key functionalities.
  • Cover edge cases and error handling in tests.
@berntpopp berntpopp added the enhancement New feature or request label Jul 29, 2024
@berntpopp berntpopp self-assigned this Jul 29, 2024
@berntpopp
Copy link
Member Author

This will require using a public API version or a mock API for the download. Options need to be investigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant