xieziyu / ngx-echarts

An angular (ver >= 2.x) directive for ECharts (ver >= 3.x)
https://xieziyu.github.io/ngx-echarts/
MIT License
1.11k stars 197 forks source link

Import not found when testing with Angular JEST #381

Open Neizan93 opened 1 year ago

Neizan93 commented 1 year ago

'ng serve' and 'ng build' works fine but 'ng test' fails when using jest

testfail

lib versions ... "echarts": "^5.4.1" "ngx-echarts": "^8.0.1", "jest": "^26.6.3", "jest-preset-angular": "^8.4.0",

Note: Tested on a karma+jasmine proyect without errors. Seems to be an error with Jest

dude0001 commented 5 months ago

@Neizan93 did you find a solution?