File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
< h5 > PROJECTS</ h5 >
5
5
< app-project-list-hover
6
6
[projects] ="projects "
7
- (showFields) ="getShowFields ($event) "
7
+ (showFields) ="setShowFields ($event) "
8
8
> </ app-project-list-hover >
9
9
< br />
10
10
< div *ngIf ="showFields ">
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ describe("TimeClockComponent", () => {
22
22
expect ( component ) . toBeTruthy ( ) ;
23
23
} ) ;
24
24
25
- it ( "should set showfileds as true" , ( ) => {
25
+ it ( "should set showFields as true" , ( ) => {
26
26
const show = true ;
27
27
component . showFields = show ;
28
- component . getShowFields ( show ) ;
28
+ component . setShowFields ( show ) ;
29
29
expect ( component . showFields ) . toBe ( true ) ;
30
30
} ) ;
31
31
} ) ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class TimeClockComponent implements OnInit {
19
19
20
20
ngOnInit ( ) : void { }
21
21
22
- getShowFields ( show : boolean ) {
22
+ setShowFields ( show : boolean ) {
23
23
this . showFields = show ;
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments