-
Notifications
You must be signed in to change notification settings - Fork 98
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
jbibla+fedekunze/1501 Modal Vote #1541
Conversation
…la+fedekunze/1501-proposal-voting Merge develop
Codecov Report
@@ Coverage Diff @@
## develop #1541 +/- ##
===========================================
+ Coverage 96.45% 96.52% +0.07%
===========================================
Files 98 99 +1
Lines 1833 1872 +39
Branches 91 92 +1
===========================================
+ Hits 1768 1807 +39
Misses 55 55
Partials 10 10
|
|
||
describe(`Modal onVote`, () => { | ||
it(`enables voting if the proposal is Active`, () => { | ||
let status = { button: `vote` } |
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 thinking: status seems to be a complex object that doesn't seem self explanatory. Maybe we could split the object in a refactor.
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.
cc: @jbibla ^^
proposal, | ||
status | ||
} | ||
describe(`without magic`, () => { |
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.
cool, you got this. :)
it(`fetches all governance proposals`, async () => { | ||
let proposals = lcdClientMock.state.proposals | ||
let proposalsRes = await client.getProposals() | ||
expect(proposalsRes).toBeDefined() |
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.
cool safety check
Depends #1531
Closes #1501
Description:
TODO:
Link to explain the types of proposals❤️ Thank you!
CHANGELOG.md
with issue # and GitHub usernameFiles changed
in the github PR explorer