aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.spec.ts
AgeCommit message (Expand)AuthorFilesLines
2023-04-21refactor(helpers)!: remove default value from arrayElement (#2045)DivisionByZero1-11/+56
2023-03-27feat(helpers): add fromRegExp method (#1569)Woon Eusean1-0/+68
2023-03-20test(helpers): mustache special cases (#1875)Shinigami1-1/+13
2023-03-15feat(helpers): new method enumValue (#1920)Caio Borghi1-0/+75
2023-03-07refactor!: remove dynamic locale switching support (#1735)ST-DDT1-8/+14
2023-01-28test(helpers): widen arrayElements distribution (#1786)Shinigami1-2/+2
2023-01-26feat(helpers): add length range support in `arrayElements` (#1772)Eric Cheng1-1/+45
2023-01-24fix(helpers): uniform distribution in helpers.arrayElements (#1770)ST-DDT1-0/+39
2023-01-02feat(helpers): add new faker.helpers.weightedArrayElement (#1654)Matt Mayer1-0/+102
2022-12-26test(helpers): fake should not trim whitespace (#1680)ST-DDT1-0/+4
2022-12-25feat(helpers): allow empty string in fake (#1679)ST-DDT1-7/+7
2022-12-23feat(helpers): fake from array (#1453)ST-DDT1-9/+33
2022-12-17test: fix duplicate test names (#1647)Shinigami1-1/+1
2022-12-07feat(helpers): introduce `multiple` method (#1545)ST-DDT1-0/+36
2022-12-03fix(internet): userName, email and slugify return only ascii (#1554)Matt Mayer1-2/+12
2022-11-25feat(number): move methods to new module (#1122)Leyla Jähnig1-5/+5
2022-11-21feat(helpers): add rangeToNumber method and add range parameters (#1486)ST-DDT1-0/+16
2022-11-07refactor(helpers)!: rewrite shuffle (#1521)Shinigami1-10/+51
2022-10-23feat: fake with multiple parameters (#1459)ST-DDT1-14/+34
2022-10-21refactor(location)!: rename address module (#1469)Shinigami1-10/+10
2022-10-18feat(string): move methods to new module (#1155)Leyla Jähnig1-8/+8
2022-10-16refactor(person)!: rename name module (#1445)Shinigami1-0/+9
2022-10-16test: fix fake test expectation (#1458)ST-DDT1-1/+1
2022-10-14refactor!: cleanup deprecations (#1440)Shinigami1-17/+7
2022-10-12test: extend vitest with toBeUnique (#1428)Shinigami1-7/+7
2022-08-29refactor(unique): move to helpers (#1298)Leyla Jähnig1-0/+159
2022-07-30refactor(fake): move to `helpers` (#1161)Leyla Jähnig1-1/+132
2022-07-28test: remove JSON.stringify wrapper around faker.seed() in tests descriptions...Piotr Kuczynski1-3/+1
2022-07-22test: introduce seededTests factory (#838)ST-DDT1-23/+75
2022-06-18test: migrate datatype to test snapshots (#875)ST-DDT1-47/+4
2022-05-25fix: Luhn generation algorithms and tests (#980)Eric Cheng1-4/+4
2022-05-22test: improve luhn checks (error messages only) (#981)ST-DDT1-4/+4
2022-05-04refactor!: remove deprecations (#916)Shinigami1-487/+1
2022-05-04fix: empty array passed into helpers.arrayElements (#921)c0per1-0/+12
2022-05-01test: add tests (#894)Shinigami1-0/+10
2022-05-01refactor: move some random methods to helpers (#892)Shinigami1-3/+52
2022-05-01feat: return seed value from seed() (#853)Shinigami1-4/+1
2022-04-30feat: separate methods for object key value (#503)Leyla Jähnig1-0/+26
2022-04-26feat: faker.helpers.maybe (#874)Shinigami1-0/+26
2022-04-22test: use consistent assertion functions (#852)Shinigami1-15/+17
2022-04-05feat: add some en locale city prefixes and suffixes (#685)Eric Cheng1-4/+4
2022-04-04chore: fix mustache type warning and add some tests (#753)ST-DDT1-5/+44
2022-03-28chore: use a standardized deprecated function (#689)Shinigami1-2/+2
2022-03-24fix: name module gender (#644)Shinigami1-6/+6
2022-03-21docs: deprecate randomize (#506)Leyla Jähnig1-0/+16
2022-03-21chore: deprecate helpers.*Card methods (#543)Stéphane Prohaszka1-1/+16
2022-03-01chore(type): type seedValue (#567)Shinigami1-1/+3
2022-02-20test: use toBeTypeOf (#511)Shinigami1-3/+3
2022-02-19test: rewrite helpers tests (#499)Shinigami1-249/+727
2022-02-06test: cover source instead of bundled code (#432)Shinigami1-1/+1