diff --git a/src/app/modules/activities-management/components/activity-list/activity-list.component.html b/src/app/modules/activities-management/components/activity-list/activity-list.component.html
index d9ee8e134..a0788a575 100644
--- a/src/app/modules/activities-management/components/activity-list/activity-list.component.html
+++ b/src/app/modules/activities-management/components/activity-list/activity-list.component.html
@@ -7,7 +7,7 @@
Date | @@ -27,9 +27,9 @@||
---|---|---|
{{ entry.start_date | date: 'MM/dd/yyyy' }} | {{ entry.start_date | date: 'HH:mm' }} - {{ entry.end_date | date: 'HH:mm' }} | {{ entry.end_date | substractDate: entry.start_date }} | diff --git a/src/app/modules/time-entries/pages/time-entries.component.spec.ts b/src/app/modules/time-entries/pages/time-entries.component.spec.ts index 29b9f4591..f5008fde0 100644 --- a/src/app/modules/time-entries/pages/time-entries.component.spec.ts +++ b/src/app/modules/time-entries/pages/time-entries.component.spec.ts @@ -1,41 +1,36 @@ -import { LoadActiveEntry } from './../../time-clock/store/entry.actions'; -import { ToastrService } from 'ngx-toastr'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; -import { provideMockStore, MockStore } from '@ngrx/store/testing'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; - -import { MonthPickerComponent, DetailsFieldsComponent, EmptyStateComponent } from '../../shared/components'; +import { MockStore, provideMockStore } from '@ngrx/store/testing'; +import { ToastrService } from 'ngx-toastr'; +import { ProjectState } from '../../customer-management/components/projects/components/store/project.reducer'; +import { DetailsFieldsComponent, EmptyStateComponent, MonthPickerComponent } from '../../shared/components'; +import { Entry } from '../../shared/models'; import { GroupByDatePipe } from '../../shared/pipes'; +import { SubstractDatePipe } from '../../shared/pipes/substract-date/substract-date.pipe'; import { TechnologyState } from '../../shared/store/technology.reducers'; -import { allTechnologies } from '../../shared/store/technology.selectors'; -import { TimeEntriesComponent } from './time-entries.component'; -import { ProjectState } from '../../customer-management/components/projects/components/store/project.reducer'; -import { getProjects } from '../../customer-management/components/projects/components/store/project.selectors'; -import { EntryState } from '../../time-clock/store/entry.reducer'; -import { allEntries } from '../../time-clock/store/entry.selectors'; -import * as entryActions from '../../time-clock/store/entry.actions'; -import { TechnologiesComponent } from '../../shared/components/technologies/technologies.component'; import { TimeEntriesSummaryComponent } from '../../time-clock/components/time-entries-summary/time-entries-summary.component'; -import { SubstractDatePipe } from '../../shared/pipes/substract-date/substract-date.pipe'; +import * as entryActions from '../../time-clock/store/entry.actions'; +import { EntryState } from '../../time-clock/store/entry.reducer'; +import { getTimeEntriesDataSource } from '../../time-clock/store/entry.selectors'; +import { LoadActiveEntry } from './../../time-clock/store/entry.actions'; +import { TimeEntriesComponent } from './time-entries.component'; + describe('TimeEntriesComponent', () => { type Merged = TechnologyState & ProjectState & EntryState; let component: TimeEntriesComponent; let fixture: ComponentFixture