This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
I would like to be able to write tests for my expression libraries using and editor and javascript.
I have tried require() and import, but have not been successful
I am calling a REST api that returns large amounts of data, but it requires a POST to get the data.
The POST snap does not have the Process Array element. (the API does support streaming the results if I call it from Python.
Thoughts or solutions?
That is good information. I would prefer to write expressions and expression libs than script snaps.
I do wish there was a way to test them from Javascript or Java in a local editor. Something to consider. Probably a lot of work when many of you...
Thank you for the response.
I did learn through more research that the engine is the Nashorn engine and due to the fact that it is deprecated in Java 11 there will not be support for it in VScode. Some people have made some progress.
I do have a te...