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

fedekunze/1568-mocked-submit-proposal #1571

Merged
merged 4 commits into from
Nov 14, 2018

Conversation

fedekunze
Copy link
Contributor

@fedekunze fedekunze commented Nov 13, 2018

Closes #1568

Description:

❤️ Thank you!


  • Added entries in CHANGELOG.md with issue # and GitHub username
  • Reviewed Files changed in the github PR explorer

@codecov
Copy link

codecov bot commented Nov 13, 2018

Codecov Report

Merging #1571 into develop will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1571      +/-   ##
===========================================
+ Coverage    96.59%   96.62%   +0.02%     
===========================================
  Files          100      100              
  Lines         1940     1953      +13     
  Branches        95       95              
===========================================
+ Hits          1874     1887      +13     
  Misses          56       56              
  Partials        10       10
Impacted Files Coverage Δ
.../src/renderer/components/governance/LiProposal.vue 100% <100%> (ø) ⬆️
app/src/renderer/connectors/lcdClientMock.js 99.17% <100%> (+0.04%) ⬆️

@fedekunze fedekunze changed the title WIP: fedekunze/1568-mocked-submit-proposal fedekunze/1568-mocked-submit-proposal Nov 13, 2018
}

if (
proposal_type !== `Text` &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

A pattern I use sometimes in those cases:

[`Text`, `ParameterChange`, `SoftwareUpgrade`].indexOf(proposal_type) === -1

amount: `5`
}
],
...proposal
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice

@faboweb faboweb merged commit 9e0ffdb into develop Nov 14, 2018
@faboweb faboweb deleted the fedekunze/1568-mocked-submit-proposal branch November 14, 2018 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add mocked submit Proposal
2 participants