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
[Stepper] Allow custom step connector #5741
Conversation
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.
Some minor comments. That looks good aside from them 👍 .
import FontIcon from 'src/FontIcon'; | ||
import getMuiTheme from 'src/styles/getMuiTheme'; | ||
|
||
describe('<Stepper />', () => { |
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 already have a test under src/Stepper/Stepper.spec.js
. That would be better to move those tests their.
</Stepper> | ||
); | ||
|
||
assert.equal(wrapper.find(FontIcon).length, 1, 'should contain a <FontIcon /> child'); |
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.
Use assert.strictEqual(
for the strict equality check (===
).
case 0: | ||
return ( | ||
<p> | ||
For each ad campaign that you create, you can control how much you're willing to |
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.
That ugly GitHub code highlighting can be fixed using a string element: {"For each ad..."}
.
Thanks. |
Allows the use of a custom step connector. See #5740.