Skip to content

Support for JS modules #56

Open
Open
@xko

Description

@xko

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions