-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Constants Helper #189
Constants Helper #189
Conversation
- Add watch as dependency for TDD, plus 'test:watch' task - Add createConstants utility + specs
💥 |
That's clean! |
Looks like the app isn't launching after this, digging now. |
'UPDATE_CELL_EXECUTION_COUNT', | ||
'UPDATE_CELL_OUTPUTS', | ||
'UPDATE_CELL_SOURCE' | ||
); |
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.
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.
Well it doesn't know the type anymore. Is that important when working with this piece of code?
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.
All about hints and developer experience here. I'm not going to argue either way, I noticed the limitation and pointed it out.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
This utility makes creating constants a little less verbose and error-prone. When writing tests for it, I noticed
electron-mocha
doesn't support (and probably never will support)--watch
, see #18, so I addedwatch
asdevDependency
and a new task for running tests on file changes.