You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unit testing on Talawa Admin is done using jest-enzyme which is a library that provides additional utility functions for testing React components with Jest and Enzyme. jest-enzyme does not support React 17 and above and hence an unofficial adapter @wojtekmaj/enzyme-adapter-react-17 is being used to make it compatible. This is a workaround and not the optimal solution to the problem.
To Reproduce
NA
Expected behavior
All tests of Talawa Admin should be written using react-testing-library instead of enzyme which requires an adapter.
Actual behavior
All tests are written using jest-enzyme which is not supported for React 17 and above without using unofficial adapters.
Screenshots
NA
Additional details
This would require refactoring of the entire testing suite.
The text was updated successfully, but these errors were encountered:
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.
Describe the bug
Unit testing on Talawa Admin is done using jest-enzyme which is a library that provides additional utility functions for testing React components with Jest and Enzyme. jest-enzyme does not support React 17 and above and hence an unofficial adapter
@wojtekmaj/enzyme-adapter-react-17
is being used to make it compatible. This is a workaround and not the optimal solution to the problem.To Reproduce
NA
Expected behavior
All tests of Talawa Admin should be written using react-testing-library instead of enzyme which requires an adapter.
Actual behavior
All tests are written using jest-enzyme which is not supported for React 17 and above without using unofficial adapters.
Screenshots
NA
Additional details
This would require refactoring of the entire testing suite.
The text was updated successfully, but these errors were encountered: