[quality] fix: correct 4 drifted test assertions in _shared/__tests__#19749
[quality] fix: correct 4 drifted test assertions in _shared/__tests__#19749kubestellar-hive[bot] wants to merge 1 commit into
Conversation
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!
This is an automated message. |
41ac8d9 to
63417c9
Compare
1. analytics-dashboard: Return fresh Response per call to prevent 'Body already read' error from parallel runReport() invocations 2. fetchWithTimeout: Use null body for HTTP 204 (null-body status) 3. core-utils: Add explicit mockStoreList reset in 'fails closed' test to prevent implementation leak from previous test via vi.clearAllMocks() 4. rate-limit: Change maxRequests from 4 to 5 so 4 paginated entries don't trigger >= threshold (tests counting, not limiting) Also fixes unhandled rejection from persistent mockRejectedValue by using mockRejectedValueOnce for the exact retry count. Signed-off-by: Quality Agent <quality-agent@kubestellar.io>
63417c9 to
3edf651
Compare
Fixes 4 persistent test failures exposed by #19741. PR #19748 was insufficient.
Fixes #19745
Filed by quality agent (hold-gated mode).