-
Notifications
You must be signed in to change notification settings - Fork 1
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 tests for the correct routes of the form management buttons #100
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.
Fix linting, specifically missing file web/frontend/tests/mocks/shared
, which seems to be in web/frontend/tests/mocks
now.
web/frontend/tests/forms.spec.ts
Outdated
const prettyFormStates = new Map([ | ||
[0, 'Initial'], | ||
[1, 'Open'], | ||
[2, 'Closed'], | ||
[3, 'ShuffledBallots'], | ||
[4, 'PubSharesSubmitted'], | ||
[5, 'ResultAvailable'], | ||
[6, 'Canceled'], | ||
]); |
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.
Does this need to be a map? Looks like an array to me.
aw, I ran the linting locally where it passed fine, but of course I forgot to include the file 🤦♀️ |
Re-ran the failing test. |
This PR adds
It closes #72 .