1
- import { async , ComponentFixture , TestBed } from "@angular/core/testing" ;
2
- import { By } from "@angular/platform-browser" ;
3
- import { DebugElement } from "@angular/core" ;
1
+ import { async , ComponentFixture , TestBed } from '@angular/core/testing' ;
2
+ import { By } from '@angular/platform-browser' ;
3
+ import { DebugElement } from '@angular/core' ;
4
+ import { TimeClockComponent } from './time-clock.component' ;
5
+ import { ProjectListHoverComponent } from '../../shared/project-list-hover/project-list-hover.component' ;
4
6
5
- import { TimeClockComponent } from "./time-clock.component" ;
6
- import { ProjectListHoverComponent } from "../../shared/project-list-hover/project-list-hover.component" ;
7
-
8
- describe ( "TimeClockComponent" , ( ) => {
7
+ describe ( 'TimeClockComponent' , ( ) => {
9
8
let component : TimeClockComponent ;
10
9
let fixture : ComponentFixture < TimeClockComponent > ;
11
10
let de : DebugElement ;
@@ -30,7 +29,7 @@ describe("TimeClockComponent", () => {
30
29
fixture . detectChanges ( ) ;
31
30
} ) ;
32
31
33
- it ( " should be created" , ( ) => {
32
+ it ( ' should be created' , ( ) => {
34
33
expect ( component ) . toBeTruthy ( ) ;
35
34
} ) ;
36
35
@@ -43,7 +42,7 @@ describe("TimeClockComponent", () => {
43
42
expect ( ptag . textContent ) . toBe ( 'Dario clocked out at hh:mm:ss' ) ;
44
43
} ) ) ;
45
44
46
- it ( " should set showfileds as true" , ( ) => {
45
+ it ( ' should set showfileds as true' , ( ) => {
47
46
const show = true ;
48
47
component . setShowFields ( show ) ;
49
48
expect ( component . showFields ) . toBe ( true ) ;
0 commit comments