79086432

Date: 2024-10-14 13:55:23
Score: 2
Natty:
Report link

I found a solution - adding the package name into the transformIgnorePatterns configuration (under jest.config file) resolved the issue. It tells to Jest to compile the package files and so the "export" error is gone.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eden Hason