Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/modules/airline.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { Aircraft, faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/animal.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/color.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { CssFunction, CssSpace, faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/commerce.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { isEAN, isISBN } from 'validator';
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/company.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/database.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/datatype.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 25;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/date.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { afterEach, describe, expect, it, vi } from 'vitest';
import { FakerError, SimpleFaker, allLocales, faker, fakerAZ } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const converterMap = [
(d: Date) => d,
Expand Down
2 changes: 1 addition & 1 deletion test/modules/finance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import ibanLib from '../../src/modules/finance/iban';
import { luhnCheck } from '../../src/modules/helpers/luhn-check';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/food.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/git.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { isEmail, isHexadecimal, isSlug } from 'validator';
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/hacker.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest';
import { FakerError, faker } from '../../src';
import { luhnCheck } from '../../src/modules/helpers/luhn-check';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/internet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { allFakers, faker, fakerKO } from '../../src';
import { FakerError } from '../../src/errors/faker-error';
import { IPv4Network } from '../../src/modules/internet';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/location.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
simpleFaker,
} from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

function degreesToRadians(degrees: number) {
return degrees * (Math.PI / 180.0);
Expand Down
2 changes: 1 addition & 1 deletion test/modules/lorem.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { isSlug } from 'validator';
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/music.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/number.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { isHexadecimal, isOctal } from 'validator';
import { describe, expect, it, vi } from 'vitest';
import { FakerError, SimpleFaker, faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from '../support/times';
import { MERSENNE_MAX_VALUE } from '../utils/mersenne-test-utils';
import { times } from './../support/times';

function isFloat(value: number): boolean {
return value % 1 !== 0;
Expand Down
2 changes: 1 addition & 1 deletion test/modules/person.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { Sex, faker, fakerAZ, fakerUK } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/phone.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest';
import { faker, fakerEN_GB } from '../../src';
import { luhnCheck } from '../../src/modules/helpers/luhn-check';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 25;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/science.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/string.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import isUUID from 'validator/lib/isUUID';
import { describe, expect, it } from 'vitest';
import { FakerError, faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

function isUuidV4(value: string) {
return isUUID(value, '4');
Expand Down
2 changes: 1 addition & 1 deletion test/modules/system.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { isMimeType, isSemVer } from 'validator';
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/vehicle.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
2 changes: 1 addition & 1 deletion test/modules/word.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest';
import { faker } from '../../src';
import { filterWordListByLength } from '../../src/modules/word/filter-word-list-by-length';
import { seededTests } from '../support/seeded-runs';
import { times } from './../support/times';
import { times } from '../support/times';

const NON_SEEDED_BASED_RUN = 5;

Expand Down
Loading