After completing the initial vite tutorial, I started looking for the way to UT the actual DOM generated. JsDom was recomended by older tutorial, so I gave it a try. It failed with:
org.scalajs.jsenv.UnsupportedInputException: Unsupported input: List(ESModule(C:\Users\xko\dev\sueppchen\target\scala-3.2.2\sueppchen-test-fastopt\main.js))
IMO it's likely to confuse many new users.
Since the modular config is now the default, would be nice to have it supported here.
If not, what's currently the best approach to the DOM testing?
After completing the initial vite tutorial, I started looking for the way to UT the actual DOM generated. JsDom was recomended by older tutorial, so I gave it a try. It failed with:
IMO it's likely to confuse many new users.
Since the modular config is now the default, would be nice to have it supported here.
If not, what's currently the best approach to the DOM testing?