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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hw wallet unit tests - Closes #1428 #1599

Merged
merged 7 commits into from Jan 24, 2019

Conversation

michaeltomasik
Copy link
Contributor

What issue have I solved?

-- #1428

How have I implemented/fixed it?

How has this been tested?

Review checklist

@michaeltomasik michaeltomasik self-assigned this Dec 14, 2018
@michaeltomasik michaeltomasik added this to Open Pull Requests in Version 1.9.0 via automation Dec 14, 2018
@slaweet slaweet removed this from Open Pull Requests in Version 1.9.0 Jan 10, 2019
@slaweet slaweet added this to Pull Requests in Version 1.10.0 via automation Jan 10, 2019
@slaweet slaweet changed the base branch from 1.9.0 to 1.10.0 January 11, 2019 14:38
Copy link
Contributor

@osvaldovega osvaldovega left a 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) => {
Copy link
Contributor

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

Copy link
Contributor Author

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) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

Copy link
Contributor

@osvaldovega osvaldovega left a comment

Choose a reason for hiding this comment

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

ok good.

@michaeltomasik michaeltomasik merged commit 27fd41c into 1.10.0 Jan 24, 2019
Version 1.10.0 automation moved this from Pull Requests to Merged Pull Requests Jan 24, 2019
@michaeltomasik michaeltomasik deleted the 1428-add-hwWallet-unit-tests branch January 24, 2019 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Version 1.10.0
  
Merged Pull Requests
Development

Successfully merging this pull request may close these issues.

None yet

2 participants