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 9, 2020
commit 7d5d5e14074a5d1e2dae2611fabb6baf34091b0b
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();
});
});