aboutsummaryrefslogtreecommitdiff
path: root/test/internet.unit.js
AgeCommit message (Collapse)AuthorFilesLines
2022-01-21chore(test): migrate to vitest (#235)Shinigami1-232/+0
2022-01-18feat!: support tree-shaking (#152)Shinigami1-1/+1
2022-01-13chore: format tests (#67)Shinigami1-42/+42
2021-06-05change domainWord generation algorithm to <adjective>-<noun>Andrii Kostenko1-7/+11
2021-03-22Linting fixes for `./test`Marak1-175/+175
2021-03-03Issue 1114: new datatypes modulelbuerste1-8/+8
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-02-09Merge pull request #1020 from josecarlosweb/feature/remove-deprecated-assetMarak1-6/+6
Replacement of deprecated functions on tests.
2021-02-08Merge pull request #1013 from ariel-enso/feature/add-internet-http-methodsMarak1-0/+8
Feature: add http methods to internet namespace
2021-02-04Merge pull request #999 from netochaves/fix/internetEmailMarak1-0/+9
Fix: internet email for japanese and chinese characters
2020-10-04Change deprecated assert.equalCarlos Carvalho1-6/+6
2020-10-01add httpMethod and unit testAriel Shadkhan1-0/+8
2020-09-18added faker.internet.portscarabedore1-0/+8
2020-09-10fix: internet email for japanese and chinese charactersNeto Chaves1-0/+9
2020-07-20Add failing test for userAgentJoshua Barnett1-0/+8
Proving it is not deterministic and does not respect random seed.
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
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-02-15[api] Rename safe_email -> exampleEmail #301Marak1-2/+2
* Public API convention is camelCase * "example" seemed more explicit than "safe"
2016-02-14add faker.internet.safe_emailalexei-lexx1-0/+16
Conflicts: lib/internet.js
2015-12-29Prevent apostrophes in return value of internet#domainWordsyn51-0/+10
2015-07-08[api] [refactor] Rename `array_element` and `object_element` to camelCase. ↵Marak1-3/+3
Set default max random number to 99999. Added default arguments to some methods.
2015-07-05[merge] [api] Add name.jobTitleMarak1-0/+1
2015-06-13Fixing method name references to mac generator in testsJoão Ferreira1-1/+1
2015-06-13Including a MAC Address generatorJoão Ferreira1-0/+7
2015-01-25added protocol() and url()Daniel Mills1-0/+38
2014-12-09Add new jobTitle function to name object.JKillian1-0/+1
I had to make a few concessions when doing this. Ideally I would have added this function under the 'company' module, but I chose to add it to the 'name' object instead, as the data happened to already exist in the locale files under 'name.title'. However, I felt that the field names in the locale files were confusing, so their wrappers in the name module are renamed for clarity. For example, faker.name.jobArea() returns a random element from locale.name.title.level. In my opinion, 'jobArea' was a much better description of the data than 'level'. Finally, fixed a bug in one unit test which didn't restore a function to its original state after watching it.
2014-09-16[api] Add ability to generate contextual data for user names and emails. #68Marak1-8/+6
2014-09-14[refactor] [major] Renamed variable names for consistency Closes #5 Marak1-27/+27
[refactor [major] Moved all errant methods from random.js to individual modules. Methods in random.js were causing unnecessary code complication.
2014-09-13[api] Added Internet.userAgent #16Marak1-0/+7
2014-05-17Moving to major new version for change of package name for uppercase to ↵FotoVerite1-33/+33
lowercase.
2013-11-05Add random color to Internet.jscyanos31-0/+7
2013-03-16js cleanup (jshint)Mikhail Fedosov1-6/+6
2013-03-15fix #42: Email has invalid charactersMikhail Fedosov1-3/+3
2013-01-07allowing all tests to run in browserBryan Donovan1-3/+5
2013-01-07renaming array_rand to array_elementBryan Donovan1-2/+2
2013-01-07100% test coverage.Bryan Donovan1-0/+83