I've 2 pipes with names UnitConversionPipe and ConvertAndFormat. Both are in different modules and I am consuming UnitConvertionPipe inside ConvertAndFormat pipe. After I re-export ConvertAndFormat pipe in barrel file (index.ts) I am getting the following test case error
An error was thrown in afterAll
Uncaught TypeError: Cannot read properties of undefined (reading 'UnitConversionPipe')
TypeError: Cannot read properties of undefined (reading 'UnitConversionPipe')
But this issue is not coming when it remove from barrel file. But it's required to re-export the same in barrel file as well.
Could you please help me to resolve this issue?