aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.spec.ts
AgeCommit message (Collapse)AuthorFilesLines
2023-08-01test: move files to modules (#2279)Shinigami1-1341/+0
2023-07-27fix(helpers): prevent uniqueArray from hanging (#2239)Matt Mayer1-0/+8
2023-05-20test: vitest prefer-each (#2144)Shinigami1-98/+100
Co-authored-by: ST-DDT <[email protected]>
2023-05-09test: lint vitest (#2098)Shinigami1-33/+27
2023-05-03feat(helpers): new method `objectEntry` (#2123)Suyash Gulati1-0/+25
2023-05-03test: prepare test sources for strict mode (#2107)Shinigami1-2/+1
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
Co-authored-by: ST-DDT <[email protected]>
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
Co-authored-by: ST-DDT <[email protected]> Co-authored-by: Eric Cheng <[email protected]> Co-authored-by: Leyla Jähnig <[email protected]> Co-authored-by: Shinigami92 <[email protected]>
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
Co-authored-by: ST-DDT <[email protected]>
2022-10-23feat: fake with multiple parameters (#1459)ST-DDT1-14/+34
2022-10-21refactor(location)!: rename address module (#1469)Shinigami1-10/+10
Co-authored-by: ST-DDT <[email protected]>
2022-10-18feat(string): move methods to new module (#1155)Leyla Jähnig1-8/+8
Co-authored-by: Eric Cheng <[email protected]> Co-authored-by: ST-DDT <[email protected]> Co-authored-by: Shinigami92 <[email protected]>
2022-10-16refactor(person)!: rename name module (#1445)Shinigami1-0/+9
Co-authored-by: ST-DDT <[email protected]>
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
Co-authored-by: Eric Cheng <[email protected]>
2022-07-28test: remove JSON.stringify wrapper around faker.seed() in tests ↵Piotr Kuczynski1-3/+1
descriptions (#1196)
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
Co-authored-by: ST-DDT <[email protected]>
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
Co-authored-by: ST-DDT <[email protected]>
2022-05-01feat: return seed value from seed() (#853)Shinigami1-4/+1
Co-authored-by: ST-DDT <[email protected]>
2022-04-30feat: separate methods for object key value (#503)Leyla Jähnig1-0/+26
Co-authored-by: Leyla Jähnig <[email protected]> Co-authored-by: Shinigami92 <[email protected]>
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
Co-authored-by: pkuczynski <[email protected]>
2022-03-24fix: name module gender (#644)Shinigami1-6/+6