Skip to content

Conversation

@ArtemisNyx3
Copy link

Description

image

I wrote JEST Tests to test the funtionality

Related PRS (if any):

#1141
#1281

Main changes explained:

  • Created TimeNotMetCoreTeamTests,js
  • Wrote 10 tests

How to test:

  1. check into current branch
  2. do npm install to run this PR locally
  3. Clear site data/cache
  4. npm run test:verbose -- ./src/test/timeNotMetCoreTeamTest.test.js
image

Screenshots or videos of changes:

Note:

The time infrigenment assignemnt logic has issues in the current code so you can see all test cases where infringements are increased fail for this reason.
generateDescriptionForCoreTeam function is called but not defined so infringements are not assigned

Copy link

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Nikita,

I have reviewed your PR locally, the tests run as instructed and fail as expected due to existing logic gaps noted in the PR (additional hour carryover and infringement assignment). Failures are valid and not related to test setup.
Screenshot 2025-12-16 at 9 06 01 PM

@one-community one-community changed the title Nikita core team member’s additional hours should be processed properly Nikita - core team member’s additional hours should be processed properly Dec 19, 2025
@one-community one-community changed the title Nikita - core team member’s additional hours should be processed properly Nikita - core team members additional hours should be processed properly Dec 19, 2025
@VijayAnirudh
Copy link

I ran the tests locally and confirmed they fail as expected. Since this PR is specifically about adding test cases that highlight gaps in the current logic, the failures are valid and reproducible. The test setup looks good, and the structure is clear. Approving this PR.
image

feat: Implement material cost router and controller

test: Add integration tests for material cost router

fix: Remove unnecessary whitespace in most wasted router

test: Update mouseover text router test description

refactor: Modify PR insights router to accept user profile

fix: Clean up project material routes by removing extra whitespace

test: Update project router test description

test: Update reason router test description

feat: Create resource request router with necessary endpoints

feat: Enhance student task router to include file upload functionality

feat: Introduce supplier performance router for summary dashboard

refactor: Clean up tag router for better readability

feat: Add delete task route to task router

test: Update time zone API routes test description

feat: Enhance time entry router with better formatting

feat: Add final day update route to user profile router

test: Update user profile router test description

feat: Create weekly summaries filter router with CRUD operations

chore: Integrate pull request review jobs into server startup

feat: Implement S3 service for file uploads

fix: Clean up BiddingService connection server

fix: Reorder logger import in db startup

fix: Clean up middleware imports

feat: Add supplier performance model to routes

feat: Add browsable lesson plan router to server

feat: Add lesson plan submission router to server

fix: Update mock request structure for better clarity

fix: Clean up SMSSender utility

chore: Update initial permissions to include new actions

feat: Introduce RateLimitedError for better error handling

fix: Clean up global error handler imports

feat: Add clearByPrefix method to node cache utility

fix: Update permission spec imports for consistency

fix: Clean up permissions utility for better readability

fix: Clean up websocket index imports

fix: Reorder imports in messaging socket for clarity
@one-community one-community added the Do Not Review Do not review or look at code without full context label Dec 23, 2025
@one-community one-community added the Needs New Developer This is a PR that is partially developed but needs someone new to take it over and finish it. label Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do Not Review Do not review or look at code without full context Needs New Developer This is a PR that is partially developed but needs someone new to take it over and finish it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants