Skip to content

Commit 36c5ae1

Browse files
committed
fix: #176 adding entries-summary
1 parent cb7f423 commit 36c5ae1

File tree

4 files changed

+2
-13
lines changed

4 files changed

+2
-13
lines changed

src/app/modules/shared/components/details-fields/details-fields.component.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ describe('DetailsFieldsComponent', () => {
8888
});
8989

9090
it('should emit ngOnChange with new data', () => {
91-
const project = { id: 'id', name: 'name', project_type_id: '' };
9291
const entryToEdit = {
9392
project_id: 'id',
9493
activity_id: 'fc5fab41-a21e-4155-9d05-511b956ebd05',
@@ -116,7 +115,6 @@ describe('DetailsFieldsComponent', () => {
116115
});
117116

118117
it('should emit ngOnChange with new data', () => {
119-
const project = { id: 'id', name: 'name', project_type_id: '' };
120118
const entryToEdit = {
121119
project_id: 'id',
122120
activity_id: '',

src/app/modules/shared/components/technologies/technologies.component.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {TechnologyState} from '../../store/technology.reducers';
66
import {allTechnologies} from '../../store/technology.selectors';
77
import {TechnologiesComponent} from './technologies.component';
88
import * as actions from '../../store/technology.actions';
9-
import {ProjectState} from '../../../customer-management/components/projects/components/store/project.reducer';
109

1110
describe('Technologies component', () => {
1211
let component: TechnologiesComponent;

src/app/modules/time-clock/pages/time-clock.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { EntryActionTypes, StopTimeEntryRunning } from './../store/entry.actions';
2-
import { async, ComponentFixture, TestBed, inject } from '@angular/core/testing';
1+
import { StopTimeEntryRunning } from './../store/entry.actions';
2+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
33
import { HttpClientTestingModule } from '@angular/common/http/testing';
44
import { provideMockStore, MockStore } from '@ngrx/store/testing';
55
import { ToastrService } from 'ngx-toastr';

src/app/modules/time-clock/store/entry.reducer.spec.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ describe('entryReducer', () => {
2525
technologies: ['angular', 'typescript'],
2626
};
2727

28-
const newEntry: Entry = {
29-
id: '1',
30-
start_date: new Date(),
31-
end_date: new Date(),
32-
activity: '',
33-
technologies: ['abc', 'abc'],
34-
};
35-
3628
it('on LOAD_ENTRIES_SUMMARY, is Loading trye', () => {
3729
const action = new actions.LoadEntriesSummary();
3830
const state = entryReducer(initialState, action);

0 commit comments

Comments
 (0)