Skip to content

Commit 2706a52

Browse files
committed
fix: TT-203 add blank lines and change test name
1 parent 23e99f7 commit 2706a52

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/modules/customer-management/components/projects-type/components/create-project-type/create-project-type.component.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,11 @@ describe('InputProjectTypeComponent', () => {
122122
expect(store.dispatch).toHaveBeenCalledWith(new CreateProjectType(projectTypeData));
123123
});
124124

125-
it('should reset Project Type Form if projectTypeIdToEdit is null', () => {
125+
it('should reset projectTypeForm if projectTypeIdToEdit is null', () => {
126+
126127
spyOn(component.projectTypeForm, 'reset');
127-
projectTypeIdToEditMock = store.overrideSelector(projectTypeIdToEdit, null);
128+
129+
store.overrideSelector(projectTypeIdToEdit, null);
128130
store.refreshState();
129131
expect(component.projectTypeForm.reset).toHaveBeenCalled();
130132
});

0 commit comments

Comments
 (0)