Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: #176 adding entries-summary
  • Loading branch information
enriquezrene committed May 14, 2020
commit 36c5ae18a579fb7d2521961a237565afd7a29e27
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ describe('DetailsFieldsComponent', () => {
});

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

it('should emit ngOnChange with new data', () => {
const project = { id: 'id', name: 'name', project_type_id: '' };
const entryToEdit = {
project_id: 'id',
activity_id: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {TechnologyState} from '../../store/technology.reducers';
import {allTechnologies} from '../../store/technology.selectors';
import {TechnologiesComponent} from './technologies.component';
import * as actions from '../../store/technology.actions';
import {ProjectState} from '../../../customer-management/components/projects/components/store/project.reducer';

describe('Technologies component', () => {
let component: TechnologiesComponent;
Expand Down
4 changes: 2 additions & 2 deletions src/app/modules/time-clock/pages/time-clock.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EntryActionTypes, StopTimeEntryRunning } from './../store/entry.actions';
import { async, ComponentFixture, TestBed, inject } from '@angular/core/testing';
import { StopTimeEntryRunning } from './../store/entry.actions';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { provideMockStore, MockStore } from '@ngrx/store/testing';
import { ToastrService } from 'ngx-toastr';
Expand Down
8 changes: 0 additions & 8 deletions src/app/modules/time-clock/store/entry.reducer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ describe('entryReducer', () => {
technologies: ['angular', 'typescript'],
};

const newEntry: Entry = {
id: '1',
start_date: new Date(),
end_date: new Date(),
activity: '',
technologies: ['abc', 'abc'],
};

it('on LOAD_ENTRIES_SUMMARY, is Loading trye', () => {
const action = new actions.LoadEntriesSummary();
const state = entryReducer(initialState, action);
Expand Down