Challenge Overview
We need the following test-related fixes and enhancements to be done for Topcoder Community App (it is based on ReactJS) (https://github.com/topcoder-platform/community-app):
1. Fix all Lint errors
Currently there are 239 lint errors in JS code, and few in .scss styles. Fix them all!
2. Enhance unit test coverage to 95-100%% and fix failed tests
Unit testing in the App is done with Jest. Currently, there are few failing tests, which should be fixed, and the global coverage is 64.52% (statements), 56.17% (branches), 75.18% (functions), 68.18% (lines), these should be increased to 95% at least.
Take into accout the note here: https://github.com/topcoder-platform/community-app/issues/6 about snapshot testing SubmissionManagement component.
3. Migrate React.PropTypes to prop-types
Facebook has deprecated React.PropTypes, typechecking with PropTypes should use now the stand-alone library https://www.npmjs.com/package/prop-types
You should update Community App code to use prop-types library instead of React.PropTypes
1. Fix all Lint errors
Currently there are 239 lint errors in JS code, and few in .scss styles. Fix them all!
2. Enhance unit test coverage to 95-100%% and fix failed tests
Unit testing in the App is done with Jest. Currently, there are few failing tests, which should be fixed, and the global coverage is 64.52% (statements), 56.17% (branches), 75.18% (functions), 68.18% (lines), these should be increased to 95% at least.
Take into accout the note here: https://github.com/topcoder-platform/community-app/issues/6 about snapshot testing SubmissionManagement component.
3. Migrate React.PropTypes to prop-types
Facebook has deprecated React.PropTypes, typechecking with PropTypes should use now the stand-alone library https://www.npmjs.com/package/prop-types
You should update Community App code to use prop-types library instead of React.PropTypes