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

Add Unit Tests for a Simple API Endpoint #31

Open
Somya2010 opened this issue Feb 1, 2025 · 0 comments
Open

Add Unit Tests for a Simple API Endpoint #31

Somya2010 opened this issue Feb 1, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request IWOC2025 Medium

Comments

@Somya2010
Copy link
Member

Description

The project currently lacks unit tests, which are essential for stability.

Steps to Implement

  1. Install Jest and Supertest (npm install jest supertest --save-dev).
  2. Create a test file (tests/sample.test.js).
  3. Write a simple test for an API endpoint.

Expected Outcome

Basic testing setup to ensure API functionality.

@github-project-automation github-project-automation bot moved this to In progress in Forgex Feb 1, 2025
@Durgesh4993 Durgesh4993 added documentation Improvements or additions to documentation enhancement New feature or request Medium IWOC2025 labels Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request IWOC2025 Medium
Projects
Status: In progress
Development

No branches or pull requests

2 participants