|
1 | | -import { async, ComponentFixture, TestBed, fakeAsync } from '@angular/core/testing'; |
| 1 | +import { async, ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing'; |
2 | 2 | import { By } from '@angular/platform-browser'; |
3 | 3 | import { DebugElement, Component } from '@angular/core'; |
4 | 4 | import { TimeClockComponent } from './time-clock.component'; |
@@ -102,27 +102,4 @@ describe('TimeClockComponent', () => { |
102 | 102 | expect(component.enterTechnology).toHaveBeenCalled(); |
103 | 103 | }); |
104 | 104 |
|
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 | | - |
128 | 105 | }); |
0 commit comments