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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maker: Test setup checklist component #13951

Merged
merged 16 commits into from Mar 23, 2017
Merged

Conversation

islemaster
Copy link
Contributor

Add a test for the setup checklist React component.

I extracted the 'work' part of detecting connection status into a SetupChecker helper that gets passed into the SetupChecklist React component. This lets us pass a stub SetupChecker in tests that can fail in different ways, so we can check different display states.

I haven't gone out of my way to cover SetupChecker here, but frankly it's mostly pass-thrus to better-tested code and I need to move on to more urgent issues 馃槩.

Copy link
Contributor

@pcardune pcardune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃挴

@islemaster islemaster merged commit acb765f into staging Mar 23, 2017
@islemaster islemaster deleted the maker-testable-setup-component branch March 23, 2017 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants