Skip to content

Conversation

@tausifpatel
Copy link
Collaborator

@tausifpatel tausifpatel commented Dec 1, 2025

This pull request introduces a helper function that converts a PNC response JSON into the LEDS response JSON format.
The purpose of this addition is to enable running the existing end to end tests for LEDS by reusing responses created for PNC.

@tausifpatel tausifpatel marked this pull request as ready for review December 2, 2025 15:30
emadkaramad
emadkaramad previously approved these changes Dec 2, 2025
units = "life"
} else {
count = Number(quantity.slice(1, 4).trim()) || 0
const unitMap: Record<string, DisposalDurationUnit> = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nitpick: This constant can be moved outside of the function at the top.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

emadkaramad
emadkaramad previously approved these changes Dec 3, 2025
@emadkaramad emadkaramad force-pushed the BICAWS7-3900-convert-cxe01-to-leds branch from 60530e0 to f407e1b Compare December 5, 2025 15:04
@tausifpatel tausifpatel force-pushed the BICAWS7-3900-convert-cxe01-to-leds branch from 1e26a00 to 3b41b15 Compare December 5, 2025 16:41
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 5, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
3 Security Hotspots

See analysis details on SonarQube Cloud

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.

2 participants