Installing PrimeNG 16.9.15-lts with valid license breaks Jest unit tests #2591
Unanswered
Thomas-Schindler
asked this question in
PrimeNG
Replies: 1 comment
-
I found the solution for my problem by following the definition of a mock for the LinkObserver here: https://stackoverflow.com/questions/57008341/jest-testing-react-component-with-react-intersection-observer |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After acquiring the PrimeNG LTS License for major version 16 and installing the version 16.9.15-lts, many of our unit test fail with the following error:
I don't know, if there is the possibility to mock the LicenseManager for running the unit tests.
Interestingly enough, the error occurs only, when I run the whole test suite. Running the single tests, each test runs successfully:
Running the test suite:
Success of the single test:
Dependencies in my package.json file:
Is this a known issue which can be fixed somehow?
Beta Was this translation helpful? Give feedback.
All reactions