-
Notifications
You must be signed in to change notification settings - Fork 179
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
java.lang.IllegalArgumentException: Unsupported platform kind: JavaScript #704
Comments
@raniejade as you mentioned in slack:
Maybe the above error is due to the same reason. I thought the stack trace could be helpful |
Btw. it works from gradle but only because I created the following two files in js:
and
clearly not ideal but the idea of the workaround might be a viable workaround for spek as well. I would transpile spek to js as well (I guess you can already due this) and provide the artefact even though you don't run tests yet. |
Neat idea, created #706. Also found the problem and submitted #705. I'll include it in the |
@robstoll can you try the latest dev build https://plugins.jetbrains.com/plugin/10915-spek-framework/update/62590? it should contain the fix. |
Looks good :) |
I have a multiplatform project with common, js and jvm. When I try to run a spec written in the common module then I get the following error:
I would expect that it still executes the test for JVM. It could give an IDE warning something along the line of
Platform Javascript is not supported
but IMO this is not even necessary (as it would appear all the time and annoy the user quicklyThe text was updated successfully, but these errors were encountered: