ERROR: 'NG0303: Can't bind to 'ngbTooltip' since it isn't a known property of 'button'.'
Encountering this issue in my Angular 12 project when running local tests, the ngbTooltip
error is present in all .spec files. Despite using CUSTOM_ELEMENT_SCHEMA
, I can't pinpoint where the error exactly occurs.
Interestingly, the error doesn't show up with ng serve
but surfaces during ng test
.
I've attempted adding CUSTOM_ELEMENT_SCHEMA
to the application module without success.
Any suggestions on how to resolve this would be highly appreciated.
Check Console output for more details Additional Console output here