-
What is the best way to debug my unit test on the JavaScript side ( I can debug the Java side in Intellij by adding a
Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Ah, I discovered I can update the jetty configuration to point to the test build folder: |
Beta Was this translation helpful? Give feedback.
-
Glad you figured out the test directory. Take care when changing the junit version - there is no runner that will let you invoke these tests from your IDE at this time anyway, so swapping that dependency probably has no benefit. It also might break things, by giving your client classpath a jar that may not be compatible with the junit emulation that exists for J2CL. |
Beta Was this translation helpful? Give feedback.
Ah, I discovered I can update the jetty configuration to point to the test build folder:
<resourceBase>${project.build.directory}/${project.build.finalName}-test</resourceBase>
I can then point my browser to:
localhost:8080/ProjectName/test-com.example.ExampleTest.html
and debug from there.