-
Notifications
You must be signed in to change notification settings - Fork 479
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
More homepages es6 updates #18480
More homepages es6 updates #18480
Conversation
@@ -48,8 +48,8 @@ const styles = { | |||
} | |||
}; | |||
|
|||
const SetUpMessage = React.createClass({ | |||
propTypes: { | |||
export default Radium(class SetUpMessage extends Component { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the only component in this PR that doesn't have its own test coverage. Up for a quick unit test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have coverage on uses of SetUpMessage
in https://github.com/code-dot-org/code-dot-org/blob/staging/apps/test/unit/templates/studioHomepages/SetUpCoursesTest.jsx and https://github.com/code-dot-org/code-dot-org/blob/staging/apps/test/unit/templates/studioHomepages/SetUpSectionsTest.jsx. Is that sufficient?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's great! I should have waited for the coverage report to be generated. 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good!
Update to new syntax for
StudentHomepage
,RecentCourses
andSetUpMessage
.