Home > Mobile >  jasmine thorw ERROR: 'NG0303: Can't bind to 'options' since it isn't a know
jasmine thorw ERROR: 'NG0303: Can't bind to 'options' since it isn't a know

Time:09-06

This is my html code.

<div  echarts [options]="Option"></div>

When i run the testcase,throwing following error. enter image description here

Solution1

enter image description here

Above solution not recommencement.

Do we have any other solution?

Thanks in advance.

CodePudding user response:

You have to import used modules:

TestBed.configureTestingModule({
  imports: [NgxEchartsModule],
});
  • Related