Closed erashu212 closed 8 years ago
See the docs: https://github.com/ngUpgraders/ng-forward/blob/master/API.md#testing
See how the test injects the controller via the componentInstance
property? You can access your inputs and trigger your outputs via there.
Can you please provide some kind of snippet. Actually I am lost.
Hi,
Can anybody please suggest how can I do a component testing with Input and Output in Mocha + Sinon + Chai.
Thanks, Ashutosh