Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need support to write unit test cases for custom sort using react enzyme (jest) #3217

Open
AravindRavi95 opened this issue Jul 20, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@AravindRavi95
Copy link

If we have a custom sort in added to the data column(below is an example). Kindly suggest on how to cover it in the unit testing.

{
title: 'Class Start',
field: 'classStart',
customSort: (a, b) => new Date(a.start).getTime() - new Date(b.start).getTime()
}

We are working with react + enzyme for unit testcase.

Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

@stale stale bot added the wontfix This will not be worked on label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant