aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2022-01-25test: rewrite commerce tests (#294)Shinigami1-149/+204
2022-01-25test: improve animal tests (#293)Shinigami1-5/+110
2022-01-25test: add test for locale imports (#297)Shinigami1-0/+13
2022-01-25docs: readme cleanup (#251)Caleb Burton1-0/+14
2022-01-24build: bundle with esbuild (#257)Shinigami26-33/+35
2022-01-24test: fix suppressed warnings (#271)ST-DDT1-6/+4
2022-01-23chore(test): Add locale to test description (#262)ST-DDT1-36/+40
2022-01-21chore(test): migrate to vitest (#235)Shinigami59-12468/+4550
2022-01-18ci: add node version matrix (#179)Mohd Imran1-15/+18
Co-authored-by: Shinigami92 <[email protected]>
2022-01-18feat!: support tree-shaking (#152)Shinigami27-30/+30
2022-01-14feat: migrate finance (#131)Shinigami2-6/+6
2022-01-14feat: migrate random (#91)Shinigami1-1/+1
2022-01-13chore: format tests (#67)Shinigami32-7683/+8598
2022-01-12fix(#28): changed fakercloud url to cloudflare-ipfs.com (#95)Daniel Bannert1-114/+205
2022-01-09fix(tests): fix failing tests (#12)Mateus Dadalto2-2/+2
Co-authored-by: Shinigami <[email protected]>
2021-10-19Merge pull request #1217 from jsoref/spelling6.0.0-alpha.0Marak5-14/+14
Spelling
2021-10-18Merge pull request #1177 from hsw107/masterMarak1-0/+48
feat: add uniqueArray helper function
2021-09-11rebuild bigInt generator pull requestEdwin Samodra1-0/+23
2021-08-18spelling: stubbedJosh Soref1-1/+1
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: separatorsJosh Soref1-4/+4
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: precedingJosh Soref1-1/+1
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: overwritesJosh Soref1-2/+2
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: messageJosh Soref1-1/+1
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: maximumJosh Soref1-1/+1
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: everythingJosh Soref1-1/+1
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: dependenciesJosh Soref1-2/+2
Signed-off-by: Josh Soref <[email protected]>
2021-08-18spelling: assertionJosh Soref1-1/+1
Signed-off-by: Josh Soref <[email protected]>
2021-06-05change domainWord generation algorithm to <adjective>-<noun>Andrii Kostenko1-7/+11
2021-05-28feat: add uniqueArray helper functionHanna Walter1-0/+48
2021-05-25Remove .only call from test suiteMarak1-1/+1
2021-05-19Updated comments to include JSDoc fieldsAdam Walker1-2/+2
2021-05-19Removed seed call from unit testsAdam Walker1-1/+0
2021-05-19Revert formatting changes to lib/index.js made by prettierAdam Walker1-2/+2
2021-05-19Add remaining methods and libs from feature request.Adam Walker1-10/+27
2021-05-19Initial commit of word.noun and word.verbAdam Walker1-0/+20
2021-03-25👍🏼Remove old public API from vendor/mersenne.jsCharles Lowell1-1/+1
2021-03-24Give each faker instance its own random number generatorCharles Lowell1-1/+1
Currently, every Faker instance shares the same random number generator instance which means that to seed one faker instance is to seed them all. This can result in duplicate data being generated all over the place. This just extracts the public API of the mersenne twister found in `vendor/mersenne.js` and creates a single instance of it per faker. This implementation is a tad sub-optimal since calling `seed()` on a faker instance will result in two redundant calls to `mersenne.init_genrand()`: one in `random.js` and the other in `datatype.js`. It would probably be more DRY to create the mersenne instance once in faker and then pass it into to the `Random` and `Datatype` instances, however, this takes the strategy of the smallest possible API change.
2021-03-22Linting fixes for `./test`Marak24-2307/+2307
2021-03-07fix bicycleType to bicycleJason Hong1-5/+5
2021-03-07add bicycleType in the vehicle moduleJason Hong1-0/+10
2021-03-03Fix deprecation warning testsMarak1-5/+5
2021-03-03Updates deprecation messageMarak1-5/+5
Fixes typo is jsdoc
2021-03-03Issue 1114: new datatypes modulelbuerste1-7/+2
- fix test naming - remove not asserting test
2021-03-03Issue 1114: new datatypes modulelbuerste1-19/+20
Current status: - changed datetime test that checks seeding to not assert something because it does not work - changed some asserts to strictEqual instead of using .ok(a===b) - renamed datatype.date to datatype.datetime
2021-03-03Issue 1114: new datatypes modulelbuerste2-96/+137
Current status: - implemented array method and respective tests - added a few semicolons - changed test with seeding of datatype.date to only check date, not time - added test for generating json with set seed
2021-03-03Issue 1114: New datatype moduleLBuerstmayr1-4/+44
Current status: - adding methods for string, json and respective tests
2021-03-03Issue 1114: new datatypes modulelbuerste4-38/+61
Current status: - moved tests with seeding problem back to random.unit - implemented date method - added datatype module to seed funtion - added tests for date method
2021-03-03Issue 1114: New datatype moduleLBuerstmayr8-242/+313
Current status: - moved number(), float(), hexaDecimal(), boolean(), uuid() from random to datatype - moved respective test from random.unit to datatype.unit - tests of moved methods in random now check if DeprecationWarning is printed and respective method in datatype module is called - adapted all lib files that use moved methods (mostly number) - adapted tests of respective files to spy on the correct method - adapted README in order to promote usage of method that logs a DeprecationWarning
2021-02-28test: 💍 Finance transactionDescription methodOgnjen Jevremovic1-6/+15
Extend the tests for the `finance.transactionDescription` method call. Create a spy for the `createTransaction` method on the helpers object and assert that the method is called only once from within `finance.transactionDescription`. ✅ Closes: #1108
2021-02-24Merge pull request #1112 from Moosh-be/issue_945_BisMarak1-0/+167
Fix for issues 846, 944, 945, 946 With TDD