Skip to content

Commit c34f9fa

Browse files
committed
added unit test
1 parent b402f40 commit c34f9fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ describe('TimeClockComponent', () => {
3030
expect(component).toBeTruthy();
3131
});
3232

33-
it('should have p tag as \'time-clock works!\'', async(() => {
33+
it('should have p tag as \'Dario clocked out at hh:mm:ss\'', async(() => {
3434
// tslint:disable-next-line: no-shadowed-variable
3535
const { app, fixture } = setup();
3636
fixture.detectChanges();
3737
const compile = fixture.debugElement.nativeElement;
3838
const ptag = compile.querySelector('p');
39-
expect(ptag.textContent).toBe('time-clock works!');
39+
expect(ptag.textContent).toBe('Dario clocked out at hh:mm:ss');
4040
}));
4141

4242
});

0 commit comments

Comments
 (0)