-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ModuleKind.ESModule #115
Labels
Comments
It's most likely possible, yes. PR welcome ;) |
Sure :-) |
This was referenced Sep 12, 2020
FWIW, the required changes to the HTML template builder will be similar to scala-js/scala-js@0c414b5. The tougher part will be that loading ES modules through the |
mushtaq
added a commit
to mushtaq/scala-js-env-selenium
that referenced
this issue
Sep 21, 2020
mushtaq
added a commit
to mushtaq/scala-js-env-selenium
that referenced
this issue
Sep 22, 2020
mushtaq
added a commit
to mushtaq/scala-js-env-selenium
that referenced
this issue
Sep 22, 2020
mushtaq
added a commit
to mushtaq/scala-js-env-selenium
that referenced
this issue
Sep 23, 2020
mushtaq
added a commit
to mushtaq/scala-js-env-selenium
that referenced
this issue
Sep 27, 2020
mushtaq
added a commit
to mushtaq/scala-js-env-selenium
that referenced
this issue
Sep 27, 2020
mushtaq
added a commit
to mushtaq/scala-js-env-selenium
that referenced
this issue
Sep 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use
scalajs-bundler
which generates a single bundle withModuleKind
asCommonJSModule
, I am successfully able to useSeleniumJSEnv
withChrome
for running tests written withScalaTest
.For a simpler workflows, I do not want to use
scalajs-bunlder
and would like to package the app as anESModule
. This works fine when I load it via index.html.But, when I try to run
ScalaTest
withSeleniumJSEnv
andChrome
, I get the following error. Is it possible to remove this restriction?The text was updated successfully, but these errors were encountered: