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 44 < h5 > PROJECTS</ h5 >
55 < app-project-list-hover
66 [projects] ="projects "
7- (showFields) ="getShowFields ($event) "
7+ (showFields) ="setShowFields ($event) "
88 > </ app-project-list-hover >
99 < br />
1010 < div *ngIf ="showFields ">
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ describe("TimeClockComponent", () => {
2222 expect ( component ) . toBeTruthy ( ) ;
2323 } ) ;
2424
25- it ( "should set showfileds as true" , ( ) => {
25+ it ( "should set showFields as true" , ( ) => {
2626 const show = true ;
2727 component . showFields = show ;
28- component . getShowFields ( show ) ;
28+ component . setShowFields ( show ) ;
2929 expect ( component . showFields ) . toBe ( true ) ;
3030 } ) ;
3131} ) ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class TimeClockComponent implements OnInit {
1919
2020 ngOnInit ( ) : void { }
2121
22- getShowFields ( show : boolean ) {
22+ setShowFields ( show : boolean ) {
2323 this . showFields = show ;
2424 }
2525}
You can’t perform that action at this time.
0 commit comments