Skip to content

Commit 15617dd

Browse files
committed
#78 added unit test
1 parent f8184b4 commit 15617dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/app/modules/customer/pages/customer.component.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,10 @@ describe('CustomerComponent', () => {
2121
it('should create', () => {
2222
expect(component).toBeTruthy();
2323
});
24+
25+
it('should change te value of var when method is called', () => {
26+
component.showCustomerForm = false;
27+
component.activateCustomerForm();
28+
expect(component.showCustomerForm).toBeTruthy();
29+
});
2430
});

0 commit comments

Comments
 (0)