Skip to content

Commit

Permalink
feat: add abbreviations to hacker.abbreviation() in the en locale (
Browse files Browse the repository at this point in the history
…faker-js#1086)

Co-authored-by: Shinigami <chrissi92@hotmail.de>
  • Loading branch information
2 people authored and Minozzzi committed Jul 19, 2022
1 parent 388cb15 commit 56c271e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 27 deletions.
55 changes: 34 additions & 21 deletions src/locales/en/hacker/abbreviation.ts
Original file line number Diff line number Diff line change
@@ -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',
];
12 changes: 6 additions & 6 deletions test/__snapshots__/hacker.spec.ts.snap
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
// 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"`;

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"`;

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"`;

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"`;

0 comments on commit 56c271e

Please sign in to comment.