-
Notifications
You must be signed in to change notification settings - Fork 0
Checkpoint feedback #5
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
base: develop
Are you sure you want to change the base?
Conversation
src/string.js
Outdated
| toCurrency() { | ||
| if (!Number(this)) { | ||
| return 'This is not a Number'; | ||
| if (/[^\d.]/.test(this) || /\..*\./.test(this)) { |
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.
Trailing spaces not allowed no-trailing-spaces
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.
fixed
| /* eslint no-unused-expressions: 0 */ | ||
| const mocha = require('mocha'); | ||
| const expect = require('chai').expect; | ||
| const chai = require('chai'); |
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.
Unable to resolve path to module 'chai' import/no-unresolved
What does this PR do?
This PR resolves all feedback received from the facilitator during checkpoint defense
Description of Task to be completed?
Refactor the isQuestion() , toCurrency() and fromCurrency() methods
How should this be manually tested?
By comparing the methods before and after the implementations
Any background context you want to provide?
Not applicable
What are the relevant pivotal tracker stories?
Not applicable
Screenshots (if appropriate)
Not applicable
Questions:
Not applicable