From e5b61b019d34d962ec2566fe80d91df1ee18e100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Connor=20B=C3=A4r?= Date: Wed, 14 Aug 2024 14:25:08 +0200 Subject: [PATCH] Add explicit imports of test utils --- src/lib/date-time-format/tests/format-to-parts.spec.ts | 2 ++ src/lib/date-time-format/tests/format.spec.ts | 2 ++ src/lib/date-time-format/tests/resolve-format.spec.ts | 2 ++ src/lib/date-time-format/tests/unsupported-intl-api.spec.ts | 2 +- src/lib/date-time-format/tests/unsupported-styles.spec.ts | 2 +- src/lib/number-format/tests/format-to-parts.spec.ts | 2 ++ src/lib/number-format/tests/format.spec.ts | 2 ++ src/lib/number-format/tests/resolve-format.spec.ts | 2 ++ src/lib/number-format/tests/unsupported-intl-api.spec.ts | 2 +- 9 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/lib/date-time-format/tests/format-to-parts.spec.ts b/src/lib/date-time-format/tests/format-to-parts.spec.ts index a5eb970..000a306 100644 --- a/src/lib/date-time-format/tests/format-to-parts.spec.ts +++ b/src/lib/date-time-format/tests/format-to-parts.spec.ts @@ -13,6 +13,8 @@ * limitations under the License. */ +import { describe, it, expect } from 'vitest'; + import { formatDateTimeToParts } from '..'; import { date, locales } from './shared'; diff --git a/src/lib/date-time-format/tests/format.spec.ts b/src/lib/date-time-format/tests/format.spec.ts index 213948e..b1fcc6e 100644 --- a/src/lib/date-time-format/tests/format.spec.ts +++ b/src/lib/date-time-format/tests/format.spec.ts @@ -13,6 +13,8 @@ * limitations under the License. */ +import { describe, it, expect } from 'vitest'; + import { formatDateTime, formatDate, formatTime } from '..'; import { date, locales } from './shared'; diff --git a/src/lib/date-time-format/tests/resolve-format.spec.ts b/src/lib/date-time-format/tests/resolve-format.spec.ts index 6f609d3..b74a712 100644 --- a/src/lib/date-time-format/tests/resolve-format.spec.ts +++ b/src/lib/date-time-format/tests/resolve-format.spec.ts @@ -13,6 +13,8 @@ * limitations under the License. */ +import { describe, it, expect } from 'vitest'; + import { resolveDateTimeFormat } from '..'; import { locales } from './shared'; diff --git a/src/lib/date-time-format/tests/unsupported-intl-api.spec.ts b/src/lib/date-time-format/tests/unsupported-intl-api.spec.ts index 4e9016d..c47475b 100644 --- a/src/lib/date-time-format/tests/unsupported-intl-api.spec.ts +++ b/src/lib/date-time-format/tests/unsupported-intl-api.spec.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { vi } from 'vitest'; +import { vi, describe, it, expect } from 'vitest'; import { formatDateTime, diff --git a/src/lib/date-time-format/tests/unsupported-styles.spec.ts b/src/lib/date-time-format/tests/unsupported-styles.spec.ts index 927058b..8df94e8 100644 --- a/src/lib/date-time-format/tests/unsupported-styles.spec.ts +++ b/src/lib/date-time-format/tests/unsupported-styles.spec.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { vi } from 'vitest'; +import { vi, describe, it, expect } from 'vitest'; import { formatDateTime } from '..'; diff --git a/src/lib/number-format/tests/format-to-parts.spec.ts b/src/lib/number-format/tests/format-to-parts.spec.ts index be6f6a5..5399cb6 100644 --- a/src/lib/number-format/tests/format-to-parts.spec.ts +++ b/src/lib/number-format/tests/format-to-parts.spec.ts @@ -13,6 +13,8 @@ * limitations under the License. */ +import { describe, it, expect } from 'vitest'; + import { formatNumberToParts, formatCurrencyToParts } from '..'; import { CURRENCIES_WITHOUT_DECIMALS } from '../../../data/currencies'; diff --git a/src/lib/number-format/tests/format.spec.ts b/src/lib/number-format/tests/format.spec.ts index 1f1d275..7148d4b 100644 --- a/src/lib/number-format/tests/format.spec.ts +++ b/src/lib/number-format/tests/format.spec.ts @@ -13,6 +13,8 @@ * limitations under the License. */ +import { describe, it, expect } from 'vitest'; + import { formatNumber, formatCurrency } from '..'; import { CURRENCIES_WITHOUT_DECIMALS } from '../../../data/currencies'; diff --git a/src/lib/number-format/tests/resolve-format.spec.ts b/src/lib/number-format/tests/resolve-format.spec.ts index e9dcac5..6091579 100644 --- a/src/lib/number-format/tests/resolve-format.spec.ts +++ b/src/lib/number-format/tests/resolve-format.spec.ts @@ -13,6 +13,8 @@ * limitations under the License. */ +import { describe, it, expect } from 'vitest'; + import { resolveNumberFormat, resolveCurrencyFormat } from '..'; import { CURRENCIES_WITHOUT_DECIMALS } from '../../../data/currencies'; diff --git a/src/lib/number-format/tests/unsupported-intl-api.spec.ts b/src/lib/number-format/tests/unsupported-intl-api.spec.ts index 4e43741..04f1335 100644 --- a/src/lib/number-format/tests/unsupported-intl-api.spec.ts +++ b/src/lib/number-format/tests/unsupported-intl-api.spec.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { vi } from 'vitest'; +import { vi, describe, it, expect } from 'vitest'; import { formatCurrency,