From c3f1fe4e3943e639e962e1193aecfdc3e48091b7 Mon Sep 17 00:00:00 2001 From: Alexander Hafstad Date: Tue, 20 Aug 2024 07:10:38 +0200 Subject: [PATCH] fix(watt): tests --- .../picker/shared/validators/watt-range.validators.spec.ts | 2 +- .../src/lib/picker/timepicker/watt-timepicker.module.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/watt/src/lib/picker/shared/validators/watt-range.validators.spec.ts b/libs/watt/src/lib/picker/shared/validators/watt-range.validators.spec.ts index 0959f9f76d..6e67d5e5c5 100644 --- a/libs/watt/src/lib/picker/shared/validators/watt-range.validators.spec.ts +++ b/libs/watt/src/lib/picker/shared/validators/watt-range.validators.spec.ts @@ -16,7 +16,7 @@ */ import { AbstractControl, ValidatorFn } from '@angular/forms'; -import { WattDateRange } from '../../../../utils/date'; +import { WattDateRange } from '@energinet-datahub/watt/utils/date'; import { WattRangeValidators } from './watt-range.validators'; interface RangeValue { diff --git a/libs/watt/src/lib/picker/timepicker/watt-timepicker.module.spec.ts b/libs/watt/src/lib/picker/timepicker/watt-timepicker.module.spec.ts index 5e0a47c5f8..ea9d87d314 100644 --- a/libs/watt/src/lib/picker/timepicker/watt-timepicker.module.spec.ts +++ b/libs/watt/src/lib/picker/timepicker/watt-timepicker.module.spec.ts @@ -23,8 +23,8 @@ import userEvent from '@testing-library/user-event'; // eslint-disable-next-line @nx/enforce-module-boundaries import { danishLocalProviders } from '@energinet-datahub/gf/globalization/configuration-danish-locale'; import { WattTimepickerComponent } from './'; -import { WattDateRange } from '../../../utils/date'; -import { danishDatetimeProviders } from '../../../configuration/watt-danish-datetime.providers'; +import { WattDateRange } from '@energinet-datahub/watt/utils/date'; +import { danishDatetimeProviders } from '@energinet-datahub/watt/core/datetime'; const backspace = '{backspace}';