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
Add hw wallet unit tests - Closes #1428 #1599
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.
Just check those 2 comments the rest looks good
<div className={styles.edit} onClick={(e) => { | ||
<div | ||
className={styles.edit} | ||
onClick={/* istanbul ignore next */(e) => { |
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.
@michaeltomasik do you think you could put the message outside the code, I mean like
onClick={(e) => { /* istanbul ignore next */
Maybe that works too
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 tried and it needs to be there so it does not lower test coverage
e.stopPropagation(); | ||
}}> | ||
<ToolBoxInput | ||
placeholder={'Title'} | ||
onChange={value => changeInput(value, account.address)} | ||
theme={styles} | ||
onKeyDown={ (event) => { if (event.keyCode === keyCodes.enter) saveAccountNames(); }} | ||
onKeyDown={/* istanbul ignore next */(event) => { |
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.
same here
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.
ok good.
What issue have I solved?
-- #1428
How have I implemented/fixed it?
How has this been tested?
Review checklist