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
Next Next commit
refactor: TTA-189 erased test
Test erased for case being already covered in separate existing test.
  • Loading branch information
mmaquina committed Nov 23, 2022
commit a1943e05208ef46ef91a97ec39267962a4dcd57d
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('CustomerTableListComponent', () => {
expect(component.showModal).toBeTrue();
});

it('onClick edit, if there are no unsaved changes dispatch SetCustomerToEdit, enable customer form and hidden modal', () => {
it('onClick edit, if there are no unsaved changes dispatch SetCustomerToEdit, enable customer form and hide modal', () => {
component.hasChange = false;

spyOn(store, 'dispatch');
Expand All @@ -104,17 +104,6 @@ describe('CustomerTableListComponent', () => {
expect(component.showModal).toBeFalse();
});

it('onClick edit, if there are no unsaved changes customer edit form should be visible', () => {
component.hasChange = false;

spyOn(store, 'dispatch');

component.editCustomer('1');
const bottomElement = document.getElementById('bottom');
expect(bottomElement).toBeTrue();

});

it('onClick edit, dispatch clean Forms in project and project type', () => {
spyOn(store, 'dispatch');

Expand Down