bito-code-review[bot] commented on PR #41132:
URL: https://github.com/apache/superset/pull/41132#issuecomment-4725060680
<!-- Bito Reply -->
The flagged issue is correct. The test loop incorrectly references
`calls[0]` instead of the current iteration item, causing it to validate only
the first request repeatedly rather than asserting every request made. To
resolve this, update the loop to use the iterated call object directly.
```typescript
// Instead of:
calls.forEach(_call => {
const { url } = calls[0];
// ... assertion
});
// Use:
calls.forEach(call => {
const { url } = call;
// ... assertion
});
```
Regarding other comments on this PR, I have checked the available review
data and found no other actionable suggestions or comments to address. Please
let me know if you would like me to investigate further or if you have
additional questions.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]