How to mock a variable value in a ng-container in angular jest test

14 Views Asked by At

I have a question about how to mock a variable value in a ng-container in angular jest test.

my html looks like this:

<ng-container *ngVar="testFacade.getData as data">
</ng-container>

now I want to test this component html,

but the question is how can I mock in this case "data"?

any idea?

0

There are 0 best solutions below