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
#78 added unit test
  • Loading branch information
daros10 committed Apr 13, 2020
commit 15617dd4dbacae93e271e164d6424d715ef27719
6 changes: 6 additions & 0 deletions src/app/modules/customer/pages/customer.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@ describe('CustomerComponent', () => {
it('should create', () => {
expect(component).toBeTruthy();
});

it('should change te value of var when method is called', () => {
component.showCustomerForm = false;
component.activateCustomerForm();
expect(component.showCustomerForm).toBeTruthy();
});
});