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
@droshev - I started looking into unit testing components with Jest and Enzyme. I create a feature branch (https://github.com/SAP/fundamental-react/tree/unit-testing) which has my unit tests for the MultiInput component and SearchInput controls (both are now at 100% code coverage).
Running npm test:
Running npm test -- --coverage will give a code coverage report.
I removed the App.test.js file as well as configured the jest setting in the package.json file to only run the coverage report on the Components .js not on the .Component.js file since those files are the implementation of the components and I don't think are necessary to be tested.
Create a strategy for automation/unit tests per components
The text was updated successfully, but these errors were encountered: