Skip to content

Commit d8bdea8

Browse files
committed
fix: TT-593 refactor unit tets
1 parent 91f5114 commit d8bdea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ describe('Reports Page', () => {
149149

150150
it(`When the user method is called, the emit method is called`, () => {
151151
const userId = 'abc123';
152-
spyOn(component.selectedUserId,'emit');
152+
spyOn(component.selectedUserId, 'emit');
153153
component.user(userId);
154154
expect(component.selectedUserId.emit).toHaveBeenCalled();
155155

src/app/modules/reports/components/time-range-form/time-range.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ describe('Reports Page', () => {
115115
expect(component.onSubmit).toHaveBeenCalled();
116116
});
117117

118-
it('When the ngOnChanges method is called, the onSubmit method is called', () =>{
118+
it('When the ngOnChanges method is called, the onSubmit method is called', () => {
119119
const userId = 'abcd';
120120
spyOn(component, 'onSubmit');
121121

0 commit comments

Comments
 (0)