-
-
Notifications
You must be signed in to change notification settings - Fork 950
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
feat(finance): add ISO 4217 numerical codes to Currency object #3404
base: next
Are you sure you want to change the base?
Conversation
added numID parameter to currency object in all languages (put zero for all non ISO currency (cypto currency)). added currencyNumID to finance definition. added currencyNumID testing to finance.spec.ts changed descriptions to match new parameter. added random currencyNumID method
✅ Deploy Preview for fakerjs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #3404 +/- ##
========================================
Coverage 99.97% 99.97%
========================================
Files 2811 2811
Lines 216972 217398 +426
Branches 943 941 -2
========================================
+ Hits 216919 217345 +426
Misses 53 53
|
Changed previous parameter numID --> numericCode. Changed comments to reflect change and newest release.
Changed parameter numID --> numericCode
Changed parameter numID --> numericCode
Changed parameter numID --> numericCode. Removed comment dev artifacts.
Changed parameter numID --> numericCode. Removed dev artifact comments
Changed parameter numID --> numericCode. Removed dev artifact comments.
Changed comment from numID to numericCode
Updated to new numericCode naming (numID previous)
Changed parameter numID --> numericCode Changed method currencyNumID --> currencyNumericCode
Changed method currencyNumID --> currencyNumericCode
chore(deps): lock file maintenance (faker-js#3403)
finance object parameter numericCode has been updated to a string. numericCode has been given significant zeros. (e.g. '8' -> '008')
fix: test before using Buffers (faker-js#3400)
Should I update my original pull request description to fit the new parameter names? |
add grave markers around numerical code description. Co-authored-by: ST-DDT <[email protected]>
change numerical ID to numeric code in description. Co-authored-by: ST-DDT <[email protected]>
change number ID to numeric code in description. Co-authored-by: ST-DDT <[email protected]>
fa language file was overridden by zh_CHN langauge file, changes reverted back to original.
it('should return a string', () => { | ||
const currencyNumericCode = faker.finance.currencyNumericCode(); | ||
|
||
expect(currencyNumericCode).toBeTypeOf('string'); |
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.
also check its 3 characters long?
Address issue #2289
added numericCode parameter to currency object in all languages (put zero for all non ISO currency (cypto currency)).
added currencyNumericCode to finance definition.
added currencyNumericCode testing to finance.spec.ts
changed descriptions to match new parameter.
added random currencyNumericCode method.