-
Locally I have unit tests using BUnit to test my pages and components. Locally it works perfectly but on the build server it fails to find the component with Am I missing a install on the build agent to be able to run this type of test on the agent? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 17 replies
-
Hey, without a specific test case it is hard to tell. But often times this observed behavior is explained due to asynchronous code, that isn't awaited property. For more information, check out: https://bunit.dev/docs/interaction/awaiting-async-state.html |
Beta Was this translation helpful? Give feedback.
-
after some modifications from recommendations from above the current test is:
Locally it works, on the agent it fails with:
|
Beta Was this translation helpful? Give feedback.
-
Even though its a old issue, I want to share the fix. After we upgraded sonarqube to latest version, after that everything worked as expected. |
Beta Was this translation helpful? Give feedback.
Even though its a old issue, I want to share the fix.
After we upgraded sonarqube to latest version, after that everything worked as expected.