-
Notifications
You must be signed in to change notification settings - Fork 1k
All js-tests examples fail except for jest example #88
Comments
An update on this: it seems that running 'gradle test' in all the examples in the js-tests folder do not work, except for the jest example, which works as expected. I'm assuming they worked at one point but have become outdated somehow. Again, I am just trying to learn this myself so I am not sure what is wrong. |
Have the same issue any updates? |
Encountered the same issue. |
Maybe the node version is an issue: Any idea how to update the node version in com.craigburke.karma? From the craigburke sources I see that the used node version is the default in the plugin code... |
Here is a good article that helps to make the JS tests work again: This solution has also a much faster build time than the karma gradle plugin. If you use the amd format, here is an example how I got it running using requirejs: |
the node plugin version 1.2.0 does not seem to work anymore. And with version 1.3.1 I cannot use any dependencies in the tests. Also it would be useful, if the examples would use dependencies, so that case is handled as well. |
Hello, I am new to unit tests with kotlin-js and I am attempting to learn how to set it up using the karma example. However, it seems that there is something wrong with this example
because even if I clone the project itself and run 'gradle test' it always produces the same error:
It seems that the js spread operator is not supported by the javascript version, but I don't know what to do about it 🤷. Does somebody here know?
The text was updated successfully, but these errors were encountered: