ag-grid / ag-charts

AG Charts is a fully-featured and highly customizable JavaScript charting library. The professional choice for developers building enterprise applications
https://charts.ag-grid.com
Other
169 stars 12 forks source link

jest testing ag grid charts angular17 9.1 #1202

Closed PiotrMistu closed 6 months ago

PiotrMistu commented 7 months ago

TypeError: Cannot read properties of null (reading 'canvas')

  18 |              component = fixture.componentInstance;
> 20 |              fixture.detectChanges();

How to fix this dCh in jest on create test?

AG-DavidG commented 7 months ago

Hi @PiotrMistu

Thank you for your query.

We'd be happy to look into this, but the most efficient way for us to do so would be for you to provide a live example reproducing the issue.

Please send us a live plunker or codesandbox sample which shows the issue. You can use one of the examples from our website as a starting point. Do let us know if you need further guidance on this.

We're looking forward to your response.

Kind regards,

David

AG-DavidG commented 6 months ago

Hi @PiotrMistu

I am closing this issue as we do not have a reproducible scenario to demonstrate the problem you have described.

If you have a reproducible scenario then please let us know and we will be happy to investigate further.

Thanks

David