Skip to content

Commit ce0682b

Browse files
committed
remove test method
1 parent 1197078 commit ce0682b

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

src/app/components/options-sidebar/time-clock/time-clock.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h6 class="text-left"><strong>Projects</strong></h6>
5959
<div class="col-sm-10">
6060
<input *ngIf="!showAlertEnterTecnology" #data type="text" (keyup)="enterTechnology(data.value)" class="form-control">
6161
<input *ngIf="showAlertEnterTecnology" #data type="text" (keyup)="enterTechnology(data.value)" class="form-control border-danger">
62-
<div class="">
62+
<div>
6363
<h6 *ngIf="showAlertEnterTecnology" class="text-danger text-left">Technology field is required. Enter this field to clock out.</h6>
6464
</div>
6565
</div>

src/app/components/options-sidebar/time-clock/time-clock.component.spec.ts

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { async, ComponentFixture, TestBed, fakeAsync } from '@angular/core/testing';
1+
import { async, ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing';
22
import { By } from '@angular/platform-browser';
33
import { DebugElement, Component } from '@angular/core';
44
import { TimeClockComponent } from './time-clock.component';
@@ -102,27 +102,4 @@ describe('TimeClockComponent', () => {
102102
expect(component.enterTechnology).toHaveBeenCalled();
103103
});
104104

105-
// it('show init state of vars', () => {
106-
// spyOn(component, 'employeClockIn');
107-
// const isClockIn = true;
108-
// const isEnterTechnology = false;
109-
// const hourCounterRealTime = 0;
110-
// const minuteCounterRealTime = 0;
111-
// const secondsCounterRealTime = 0;
112-
// const hour = 0;
113-
// const minute = 0;
114-
// const seconds = 0;
115-
// expect(component.isClockIn).toBe(isClockIn);
116-
// expect(component.isEnterTechnology).toBe(isEnterTechnology);
117-
// expect(component.hourCounterRealTime).toBe(hourCounterRealTime);
118-
// expect(component.minuteCounterRealTime).toBe(minuteCounterRealTime);
119-
// expect(component.secondsCounterRealTime).toBe(secondsCounterRealTime);
120-
// expect(component.hour).toBe(hour);
121-
// expect(component.minute).toBe(minute);
122-
// expect(component.seconds).toBe(hour);
123-
// });
124-
125-
126-
127-
128105
});

0 commit comments

Comments
 (0)