aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2017-10-02Adds unit test for faker.lorem.word without a length param.Johnny Reina1-1/+8
2017-10-02Merge branch 'master' of https://github.com/Marak/faker.jsJohnny Reina10-6/+336
2017-09-09Merge pull request #538 from APIs-guru/masterMarak1-1/+12
[test] Add test for setLocale function added in #488
2017-09-09Revert "Update Random to create a per-instance copy of the RNG"Marak1-16/+0
This reverts commit 8a33cf0e7a57f8fe766034706d0230802788d1ff.
2017-09-08Update Random to create a per-instance copy of the RNGChris Chambers1-0/+16
Before this change, it appeared that multiple, independent Faker instances were legal. But, when multiple instances were created, their shared random number generators would overwrite each others' states. After this change, each Random instance (and therefore each Faker instance) has its own copy of the random number generator, ensuring that calls to one Faker instance do not affect the stream of values generated by another.
2017-09-08Merge pull request #455 from andresilvagomez/max-min-latlongMarak1-0/+26
[api] Add max, min for latitude and longitude
2017-09-08Merge pull request #366 from joonhocho/masterMarak1-0/+40
[api] Add `faker.random.arrayElements`
2017-09-08Add test for setLocale function added in #488Ivan Goncharov1-1/+12
2017-09-08Merge pull request #303 from shadefinale/masterMarak1-2/+19
[api] [locale] More accurate US/CA phone numbers.
2017-09-08Merge pull request #524 from chilicoder/masterMarak1-0/+9
[api] add alphanumeric symbol * to `helpers.replaceSymbols`
2017-09-08Merge pull request #487 from atorkhov/patch-2Marak1-0/+10
[api] Added faker.date.soon
2017-09-08Merge branch 'master' of https://github.com/Marak/faker.jsMarak1-1/+1
2017-09-08Merge branch 'creditCard' of https://github.com/zpiman/faker.jsMarak3-3/+144
2017-09-08Merge pull request #446 from dugoh/price-fixMarak1-1/+1
[api] Price should default minimum to 1
2017-09-08[test] Added `Faker.unique` test suite #466Marak1-0/+54
2017-08-10add alphanumeric symbol * to helpers.replaceSymbolsIaroslav Popov1-0/+9
2017-07-27Adds unit test for lorem.word()Johnny Reina1-0/+18
2017-06-19Generate an ethereum addressGokulnath Reddy1-0/+8
2017-06-19Generate a hexaDecimal stringGokulnath Reddy1-0/+14
2017-03-07Add test for faker.date.soonAlexey Torkhov1-0/+10
2017-03-02Merge pull request #408 from paolo-tanium/allow-mac-to-specify-separatorMarak1-0/+18
[api] Allow user to specify separator to be used in mac address
2017-03-01Fix generation of float numbersIvan Goncharov1-0/+8
Fixes #401
2017-02-26add debug info to credit card because of node v0.10Jakub Mandula1-0/+5
2017-02-26replace String.prototype.repeat with proper helperJakub Mandula1-4/+4
2017-02-26Merge branch 'Mark/origin' into creditCardJakub Mandula11-37/+241
2017-02-21Functionally test all modules/methodsJim Fitzpatrick1-45/+47
Walk over the faker object to accumulate all methods for functional testing purposes, blacklisting those that should be ignored. Conflicts: test/all.functional.js
2017-02-21Statically bind all module methodsJim Fitzpatrick1-3/+14
Statically bind the methods on all modules to their correct context so that the methods can be called in a composable, callback-oriented manner. Closes #376 Conflicts: lib/index.js test/all.functional.js
2017-02-11[api] [minor] Rename `dataurl` to `dataUri`Marak1-3/+3
2017-02-11#420 Added dataurl methodSylvain BANNIER1-0/+6
2017-02-11[test] [fix] [minor] Typo in test nameMarak1-1/+1
2017-02-11Merge branch 'master' into patch-1alexpts6-6/+133
# Conflicts: # lib/finance.js
2017-02-11Fix aomount and price argument dec for case = 0. Add unit tests. Minor ↵alexpts2-1/+34
codestyle fix.
2017-02-09Merge remote-tracking branch 'codemanx/master'Marak1-6/+26
2017-02-09Merge pull request #437 from lencse/masterMarak2-1/+31
[api] Added `lorem.slug` method
2017-02-09[api] [fix] Don't allow `/` in file names or pathsMarak1-0/+27
Don't allow path seperators in generated filenames
2017-02-09testskulaeff3-0/+50
2017-01-26Add max, min for latitude and longitudeAndres Silva1-0/+26
2017-01-01Fix typo in price() descriptionJacob Goense1-2/+2
2016-11-30Don't allow path seperators in generated filenamesMark Kornblum1-0/+27
2016-11-24Added lorem.slug to functional testLevente Löki1-1/+1
2016-11-24Added lorem.slug methodLevente Löki1-0/+30
2016-10-01[api] Added `internet.ipv6` methodcvega1-0/+8
* Returns a random 8 octet ipv6 address
2016-09-25separator enhancements and unit testsPaolo del Mundo1-0/+18
2016-08-30Prevented a crash on running helpers.shuffle on an empty arrayBen Douglas1-0/+5
2016-06-13add tests for credit card functions and helpersJakub Mandula3-3/+136
2016-04-08add faker.random.arrayElementsJoon Ho Cho1-0/+40
2016-04-07Add IBAN and BIC generator functionsCoDEmanX1-1/+21
2016-04-07Correct spellingCoDEmanX1-5/+5
2016-04-04alphaNumeric takes now count as a argumentKrzysztof Kaczor1-0/+12
2016-03-20Update tests to confirm name suffix is correctLogan Allred1-0/+3