Skip to content

Bug: jsdom hardcoded to false in Scala.js projects #1489

Open
@keynmol

Description

@keynmol

Bug

Seems like (unintentionally?) jsdom setting in the generated config is set to false:

Which means the tests don't run from IDEs.

Manually changing jsdom to true in the generated json config leads to tests running successfully via both bloop and from IDE.

Reproduce

It's not minimal, but not involved:

  1. Clone https://github.com/keynmol/http4s-laminar-stack
  2. Attempt to run FrontendSpec
    It will fail
  3. modify .bloop/frontend-test.json, changing jsdom property to true
  4. run FrontendSpec again - it should succeed (as long as jsdom is installed on the machine)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions