Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: TT-203 add blank lines and change test name
  • Loading branch information
LEON12699 committed Apr 6, 2021
commit 2706a527bb71ef90000d31aa823cb7d4c44822b4
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@ describe('InputProjectTypeComponent', () => {
expect(store.dispatch).toHaveBeenCalledWith(new CreateProjectType(projectTypeData));
});

it('should reset Project Type Form if projectTypeIdToEdit is null', () => {
it('should reset projectTypeForm if projectTypeIdToEdit is null', () => {

spyOn(component.projectTypeForm, 'reset');
projectTypeIdToEditMock = store.overrideSelector(projectTypeIdToEdit, null);

store.overrideSelector(projectTypeIdToEdit, null);
store.refreshState();
expect(component.projectTypeForm.reset).toHaveBeenCalled();
});
Expand Down