While conducting unit tests for my component that includes various primeng components, I encountered an issue with the multi select component. All unit test cases are passing successfully except for the multi select which is returning the error message below:
undefined is not a constructor (evaluating 'this.documentClickListener()') in D:/mdp-internaltools-app/src/index.spec.ts (line 126499)
ngOnDestroy@D:/mdp-internaltools-app/src/index.spec.ts:126499:35 <- webpack:///~/primeng/components/multiselect/multiselect.js:232:0
ngOnDestroy
destroyInternal
Has anyone else faced a similar issue with the multi select component in primeng?