From 881b9b87984cef894e6cb50cf45fabf26f8210ae Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sat, 23 May 2026 17:50:13 +0200 Subject: [PATCH] chore: consistent import paths in tests --- test/modules/airline.spec.ts | 2 +- test/modules/animal.spec.ts | 2 +- test/modules/color.spec.ts | 2 +- test/modules/commerce.spec.ts | 2 +- test/modules/company.spec.ts | 2 +- test/modules/database.spec.ts | 2 +- test/modules/datatype.spec.ts | 2 +- test/modules/date.spec.ts | 2 +- test/modules/finance.spec.ts | 2 +- test/modules/food.spec.ts | 2 +- test/modules/git.spec.ts | 2 +- test/modules/hacker.spec.ts | 2 +- test/modules/helpers.spec.ts | 2 +- test/modules/internet.spec.ts | 2 +- test/modules/location.spec.ts | 2 +- test/modules/lorem.spec.ts | 2 +- test/modules/music.spec.ts | 2 +- test/modules/number.spec.ts | 2 +- test/modules/person.spec.ts | 2 +- test/modules/phone.spec.ts | 2 +- test/modules/science.spec.ts | 2 +- test/modules/string.spec.ts | 2 +- test/modules/system.spec.ts | 2 +- test/modules/vehicle.spec.ts | 2 +- test/modules/word.spec.ts | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/test/modules/airline.spec.ts b/test/modules/airline.spec.ts index bf674570c76..2616fa5bfb0 100644 --- a/test/modules/airline.spec.ts +++ b/test/modules/airline.spec.ts @@ -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; diff --git a/test/modules/animal.spec.ts b/test/modules/animal.spec.ts index ff5767e260b..9fe0d5e404b 100644 --- a/test/modules/animal.spec.ts +++ b/test/modules/animal.spec.ts @@ -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; diff --git a/test/modules/color.spec.ts b/test/modules/color.spec.ts index 0e14726659b..190bdb981b2 100644 --- a/test/modules/color.spec.ts +++ b/test/modules/color.spec.ts @@ -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; diff --git a/test/modules/commerce.spec.ts b/test/modules/commerce.spec.ts index cf1b15843c4..ebbae1cd393 100644 --- a/test/modules/commerce.spec.ts +++ b/test/modules/commerce.spec.ts @@ -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; diff --git a/test/modules/company.spec.ts b/test/modules/company.spec.ts index 7e1d08d1d7b..0e5f85e0597 100644 --- a/test/modules/company.spec.ts +++ b/test/modules/company.spec.ts @@ -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; diff --git a/test/modules/database.spec.ts b/test/modules/database.spec.ts index fd386a682fc..954bd29356f 100644 --- a/test/modules/database.spec.ts +++ b/test/modules/database.spec.ts @@ -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; diff --git a/test/modules/datatype.spec.ts b/test/modules/datatype.spec.ts index 0dc59fe4d99..a3048a5a25d 100644 --- a/test/modules/datatype.spec.ts +++ b/test/modules/datatype.spec.ts @@ -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; diff --git a/test/modules/date.spec.ts b/test/modules/date.spec.ts index 6947de55044..4def1cfcb72 100644 --- a/test/modules/date.spec.ts +++ b/test/modules/date.spec.ts @@ -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, diff --git a/test/modules/finance.spec.ts b/test/modules/finance.spec.ts index 292e1719114..efeb3231c96 100644 --- a/test/modules/finance.spec.ts +++ b/test/modules/finance.spec.ts @@ -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; diff --git a/test/modules/food.spec.ts b/test/modules/food.spec.ts index 473a191b1c5..9136b811cb9 100644 --- a/test/modules/food.spec.ts +++ b/test/modules/food.spec.ts @@ -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; diff --git a/test/modules/git.spec.ts b/test/modules/git.spec.ts index 5d62053f11a..98902bdfb7e 100644 --- a/test/modules/git.spec.ts +++ b/test/modules/git.spec.ts @@ -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; diff --git a/test/modules/hacker.spec.ts b/test/modules/hacker.spec.ts index e1dbd190b4a..766f2708b90 100644 --- a/test/modules/hacker.spec.ts +++ b/test/modules/hacker.spec.ts @@ -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; diff --git a/test/modules/helpers.spec.ts b/test/modules/helpers.spec.ts index aec8dd228ef..eff8ae930bb 100644 --- a/test/modules/helpers.spec.ts +++ b/test/modules/helpers.spec.ts @@ -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; diff --git a/test/modules/internet.spec.ts b/test/modules/internet.spec.ts index 2fe90eff3ab..c2ca0b85058 100644 --- a/test/modules/internet.spec.ts +++ b/test/modules/internet.spec.ts @@ -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; diff --git a/test/modules/location.spec.ts b/test/modules/location.spec.ts index b2df30eeac6..d783017ff5d 100644 --- a/test/modules/location.spec.ts +++ b/test/modules/location.spec.ts @@ -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); diff --git a/test/modules/lorem.spec.ts b/test/modules/lorem.spec.ts index 1b6d9f77ea9..5b8b773bbbd 100644 --- a/test/modules/lorem.spec.ts +++ b/test/modules/lorem.spec.ts @@ -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; diff --git a/test/modules/music.spec.ts b/test/modules/music.spec.ts index c422c290f5b..65cd7cd3b4c 100644 --- a/test/modules/music.spec.ts +++ b/test/modules/music.spec.ts @@ -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; diff --git a/test/modules/number.spec.ts b/test/modules/number.spec.ts index 8ac8f572cb9..a89b992cc60 100644 --- a/test/modules/number.spec.ts +++ b/test/modules/number.spec.ts @@ -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; diff --git a/test/modules/person.spec.ts b/test/modules/person.spec.ts index df8ec4caa49..f02b6b27c5f 100644 --- a/test/modules/person.spec.ts +++ b/test/modules/person.spec.ts @@ -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; diff --git a/test/modules/phone.spec.ts b/test/modules/phone.spec.ts index d91975f38c9..8946eb2dc5f 100644 --- a/test/modules/phone.spec.ts +++ b/test/modules/phone.spec.ts @@ -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; diff --git a/test/modules/science.spec.ts b/test/modules/science.spec.ts index 268da08ff80..9476755eec4 100644 --- a/test/modules/science.spec.ts +++ b/test/modules/science.spec.ts @@ -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; diff --git a/test/modules/string.spec.ts b/test/modules/string.spec.ts index b147efc0d93..8b2568b0ab4 100644 --- a/test/modules/string.spec.ts +++ b/test/modules/string.spec.ts @@ -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'); diff --git a/test/modules/system.spec.ts b/test/modules/system.spec.ts index 1e3ff79bf89..14b15471d2b 100644 --- a/test/modules/system.spec.ts +++ b/test/modules/system.spec.ts @@ -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; diff --git a/test/modules/vehicle.spec.ts b/test/modules/vehicle.spec.ts index 93f93b91626..c189acb6095 100644 --- a/test/modules/vehicle.spec.ts +++ b/test/modules/vehicle.spec.ts @@ -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; diff --git a/test/modules/word.spec.ts b/test/modules/word.spec.ts index 646bbc069f9..8d68286b622 100644 --- a/test/modules/word.spec.ts +++ b/test/modules/word.spec.ts @@ -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;