Open
Description
I have tried to run ScalaJS code as SBT Integration test suite, I configured them as is written in the docs
.configs(IntegrationTest)
.settings(commonSettings, Defaults.itSettings)
.settings(inConfig(IntegrationTest)(ScalaJSPlugin.testConfigSettings))
but, during execution of IntegrationTest / fastLinkJS
operation, I got
[error] Referring to non-existent class org.scalajs.testing.bridge.Bridge
[error] called from core module module initializers
[error] Referring to non-existent method static org.scalajs.testing.bridge.Bridge.start()void
[error] called from core module module initializers
[error] There were linking errors
[error] (IntegrationTest / fastLinkJS) There were linking errors
The fix for that is adding explicitly scalajs-test-bridge
as IntegrationTest
scope dependency.
My proposition is to have in ScalaJSPlugin
defined integration tests config settings (similar to testConfigSettings
) which user can easily add to IntegrationTest
scope
Metadata
Metadata
Assignees
Labels
No labels