Skip to content

Commit

Permalink
Add explicit imports of test utils
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Aug 14, 2024
1 parent 9c386fa commit e5b61b0
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/lib/date-time-format/tests/format-to-parts.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* limitations under the License.
*/

import { describe, it, expect } from 'vitest';

import { formatDateTimeToParts } from '..';

import { date, locales } from './shared';
Expand Down
2 changes: 2 additions & 0 deletions src/lib/date-time-format/tests/format.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* limitations under the License.
*/

import { describe, it, expect } from 'vitest';

import { formatDateTime, formatDate, formatTime } from '..';

import { date, locales } from './shared';
Expand Down
2 changes: 2 additions & 0 deletions src/lib/date-time-format/tests/resolve-format.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* limitations under the License.
*/

import { describe, it, expect } from 'vitest';

import { resolveDateTimeFormat } from '..';

import { locales } from './shared';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* limitations under the License.
*/

import { vi } from 'vitest';
import { vi, describe, it, expect } from 'vitest';

import {
formatDateTime,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/date-time-format/tests/unsupported-styles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* limitations under the License.
*/

import { vi } from 'vitest';
import { vi, describe, it, expect } from 'vitest';

import { formatDateTime } from '..';

Expand Down
2 changes: 2 additions & 0 deletions src/lib/number-format/tests/format-to-parts.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 2 additions & 0 deletions src/lib/number-format/tests/format.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 2 additions & 0 deletions src/lib/number-format/tests/resolve-format.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/lib/number-format/tests/unsupported-intl-api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* limitations under the License.
*/

import { vi } from 'vitest';
import { vi, describe, it, expect } from 'vitest';

import {
formatCurrency,
Expand Down

0 comments on commit e5b61b0

Please sign in to comment.