pawarprasad123 opened a new pull request, #633:
URL: https://github.com/apache/atlas/pull/633

   ## What changes were proposed in this pull request?
   
   This PR adds **automated tests** for data-access and shared state/helpers. 
It validates **HTTP wrappers**, **URL constants**, **pure utilities**, and 
**Redux slices** without mounting full pages.
   
   **What changes do**
   
   - **`src/api/apiMethods/__tests__/**`**: Exercises API methods 
(success/error paths, headers, `fetchApi` usage) so refactors do not break 
server integration contracts.
   - **`src/api/apiUrlLinks/__tests__/**`**: Locks URL shapes (paths, query 
params) so env-specific or versioned endpoints stay correct.
   - **`src/utils/__tests__/**`**: Tests formatting, parsing, navigation 
helpers, and error-message helpers used across views.
   - **`src/redux/**/__tests__/**`**: Tests reducers/selectors/async thunks 
where covered—guards global state behavior used by containers.
   
   **Why these files are used**
   
   - Failures here usually mean **broken API calls**, **wrong links**, or 
**subtle state bugs** that would surface as flaky UI; fixing at this layer is 
**cheaper** than debugging full screens.
   
   
   
   ## How was this patch tested?
   Manual test
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to