aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Cheng <[email protected]>2022-06-18 12:42:55 -0400
committerGitHub <[email protected]>2022-06-18 18:42:55 +0200
commitc5d893401be7b9cdf3e54930df0681ea9f43be06 (patch)
treec9682efa7c25305648d745af247487d5a94832cf
parent1898f28b8698fb8e6c0f85c8b05009b4bf7e1e2b (diff)
downloadfaker-c5d893401be7b9cdf3e54930df0681ea9f43be06.tar.xz
faker-c5d893401be7b9cdf3e54930df0681ea9f43be06.zip
feat: add abbreviations to `hacker.abbreviation()` in the `en` locale (#1086)
Co-authored-by: Shinigami <[email protected]>
-rw-r--r--src/locales/en/hacker/abbreviation.ts55
-rw-r--r--test/__snapshots__/hacker.spec.ts.snap12
2 files changed, 40 insertions, 27 deletions
diff --git a/src/locales/en/hacker/abbreviation.ts b/src/locales/en/hacker/abbreviation.ts
index 7757987e..8691d668 100644
--- a/src/locales/en/hacker/abbreviation.ts
+++ b/src/locales/en/hacker/abbreviation.ts
@@ -1,31 +1,44 @@
export default [
- 'TCP',
- 'HTTP',
- 'SDD',
- 'RAM',
- 'GB',
- 'CSS',
- 'SSL',
+ 'ADP',
'AGP',
- 'SQL',
- 'FTP',
- 'PCI',
'AI',
- 'ADP',
- 'RSS',
- 'XML',
- 'EXE',
+ 'API',
+ 'ASCII',
+ 'CLI',
'COM',
+ 'CSS',
+ 'DNS',
+ 'DRAM',
+ 'EXE',
+ 'FTP',
+ 'GB',
'HDD',
- 'THX',
- 'SMTP',
- 'SMS',
- 'USB',
+ 'HEX',
+ 'HTTP',
+ 'IB',
+ 'IP',
+ 'JBOD',
+ 'JSON',
+ 'OCR',
+ 'PCI',
'PNG',
+ 'RAM',
+ 'RSS',
'SAS',
- 'IB',
'SCSI',
- 'JSON',
+ 'SDD',
+ 'SMS',
+ 'SMTP',
+ 'SQL',
+ 'SSD',
+ 'SSL',
+ 'TCP',
+ 'THX',
+ 'TLS',
+ 'UDP',
+ 'USB',
+ 'UTF8',
+ 'VGA',
+ 'XML',
'XSS',
- 'JBOD',
];
diff --git a/test/__snapshots__/hacker.spec.ts.snap b/test/__snapshots__/hacker.spec.ts.snap
index b58c10a9..29f6a9f2 100644
--- a/test/__snapshots__/hacker.spec.ts.snap
+++ b/test/__snapshots__/hacker.spec.ts.snap
@@ -1,6 +1,6 @@
// Vitest Snapshot v1
-exports[`name > seed: 42 > abbreviation() 1`] = `"PCI"`;
+exports[`name > seed: 42 > abbreviation() 1`] = `"HTTP"`;
exports[`name > seed: 42 > adjective() 1`] = `"cross-platform"`;
@@ -8,11 +8,11 @@ exports[`name > seed: 42 > ingverb() 1`] = `"copying"`;
exports[`name > seed: 42 > noun() 1`] = `"array"`;
-exports[`name > seed: 42 > phrase() 1`] = `"Try to transmit the SAS microchip, maybe it will quantify the mobile monitor!"`;
+exports[`name > seed: 42 > phrase() 1`] = `"Try to transmit the TCP microchip, maybe it will quantify the mobile monitor!"`;
exports[`name > seed: 42 > verb() 1`] = `"navigate"`;
-exports[`name > seed: 1211 > abbreviation() 1`] = `"JSON"`;
+exports[`name > seed: 1211 > abbreviation() 1`] = `"UTF8"`;
exports[`name > seed: 1211 > adjective() 1`] = `"solid state"`;
@@ -20,11 +20,11 @@ exports[`name > seed: 1211 > ingverb() 1`] = `"programming"`;
exports[`name > seed: 1211 > noun() 1`] = `"capacitor"`;
-exports[`name > seed: 1211 > phrase() 1`] = `"I'll back up the neural RSS program, that should panel the SCSI matrix!"`;
+exports[`name > seed: 1211 > phrase() 1`] = `"I'll back up the neural JSON program, that should panel the USB matrix!"`;
exports[`name > seed: 1211 > verb() 1`] = `"reboot"`;
-exports[`name > seed: 1337 > abbreviation() 1`] = `"AGP"`;
+exports[`name > seed: 1337 > abbreviation() 1`] = `"FTP"`;
exports[`name > seed: 1337 > adjective() 1`] = `"open-source"`;
@@ -32,6 +32,6 @@ exports[`name > seed: 1337 > ingverb() 1`] = `"compressing"`;
exports[`name > seed: 1337 > noun() 1`] = `"port"`;
-exports[`name > seed: 1337 > phrase() 1`] = `"Try to generate the COM program, maybe it will connect the back-end port!"`;
+exports[`name > seed: 1337 > phrase() 1`] = `"Try to generate the RAM program, maybe it will connect the back-end port!"`;
exports[`name > seed: 1337 > verb() 1`] = `"compress"`;