Skip to content

Conversation

@bashleigh
Copy link
Contributor

Pull request checklist

Detail as per issue below (required):

fixes: RPLT-1187

@rpt-uk-github
Copy link
Contributor

rpt-uk-github commented Sep 23, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@codacy-production
Copy link

codacy-production bot commented Sep 23, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 295eaa81 97.14%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (295eaa8) Report Missing Report Missing Report Missing
Head commit (40c2caa) 1016 809 79.63%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#11623) 35 34 97.14%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

loading={isDownloading}
onClick={handleSetDownloading(setIsDownloading)}
onClick={() =>
DownloadUsersCSVFunction({
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: functions should be camel case

@@ -1,15 +1,6 @@
import React from 'react'
Copy link
Contributor

Choose a reason for hiding this comment

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

would be good in the tests to check that the data you get from the function is what you expect it to be


expect(setIsDownloading).toHaveBeenNthCalledWith(1, true)
expect(setIsDownloading).toHaveBeenNthCalledWith(2, false)
expect(global.fetch).toHaveBeenCalled()
Copy link
Contributor

Choose a reason for hiding this comment

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

would be good to check that it's fetching the expected thing(s) here

@bashleigh bashleigh requested a review from joshbalfour October 1, 2025 15:21
@bashleigh bashleigh merged commit ea9ffd1 into master Oct 2, 2025
11 checks passed
@bashleigh bashleigh deleted the feat/RPLT-1187-mfa-multi-export-v2 branch October 2, 2025 08:09
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.

5 participants