Skip to content

Commit

Permalink
test: removed seededRuns object in hacker test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jun 18, 2022
1 parent fd1ac63 commit 7d1fa12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 81 deletions.
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"`;
75 changes: 0 additions & 75 deletions test/hacker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,81 +2,6 @@ import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { faker } from '../src';
import { seededRuns } from './support/seededRuns';

const seededRuns = [
{
seed: 42,
expectations: {
abbreviation: {
noArgs: 'HTTP',
},
adjective: {
noArgs: 'cross-platform',
},
noun: {
noArgs: 'array',
},
verb: {
noArgs: 'navigate',
},
ingverb: {
noArgs: 'copying',
},
phrase: {
noArgs:
'Try to transmit the TCP microchip, maybe it will quantify the mobile monitor!',
},
},
},
{
seed: 1337,
expectations: {
abbreviation: {
noArgs: 'FTP',
},
adjective: {
noArgs: 'open-source',
},
noun: {
noArgs: 'port',
},
verb: {
noArgs: 'compress',
},
ingverb: {
noArgs: 'compressing',
},
phrase: {
noArgs:
'Try to generate the RAM program, maybe it will connect the back-end port!',
},
},
},
{
seed: 1211,
expectations: {
abbreviation: {
noArgs: 'UTF8',
},
adjective: {
noArgs: 'solid state',
},
noun: {
noArgs: 'capacitor',
},
verb: {
noArgs: 'reboot',
},
ingverb: {
noArgs: 'programming',
},
phrase: {
noArgs:
"I'll back up the neural JSON program, that should panel the USB matrix!",
},
},
},
];

const NON_SEEDED_BASED_RUN = 5;

const functionNames = [
Expand Down

0 comments on commit 7d1fa12

Please sign in to comment.