You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was working on top of the Jasmine example using the test runner to test my Parse Cloud code, but I encountered an issue where whenever I run my Cloudcode, Jasmine times out. If I extend the timeout, the tests continue to run forever, without every receiving a response. Here is my testing code:
What is interesting is that the 'should work' test succeeds, so I know that a regular Query works. However, the one spec I added called 'test' does not. I know that my cloudcode is being referenced correctly, because if I remove the cloud argument and start the Parse server, I get an error response saying that particular cloud code function is undefined. Here is the cloud code that I am trying to run:
I have no idea how to begin debugging this, as I do not know how to access the logs of the Parse server generated by the test runner, and no idea what a lack of a response could mean. I am wondering if I am missing something simple in my definitions or configuration, any help would be appreciated!
The text was updated successfully, but these errors were encountered:
After extending the timeout time even further, I eventually got this error:
Failures:
1) cloudcode test
Message:
Failed: XMLHttpRequest failed: "Unable to connect to the Parse API"
Stack:
2 specs, 1 failure
Finished in 607.678 seconds
Hi, I was working on top of the Jasmine example using the test runner to test my Parse Cloud code, but I encountered an issue where whenever I run my Cloudcode, Jasmine times out. If I extend the timeout, the tests continue to run forever, without every receiving a response. Here is my testing code:
What is interesting is that the 'should work' test succeeds, so I know that a regular Query works. However, the one spec I added called 'test' does not. I know that my cloudcode is being referenced correctly, because if I remove the cloud argument and start the Parse server, I get an error response saying that particular cloud code function is undefined. Here is the cloud code that I am trying to run:
I have no idea how to begin debugging this, as I do not know how to access the logs of the Parse server generated by the test runner, and no idea what a lack of a response could mean. I am wondering if I am missing something simple in my definitions or configuration, any help would be appreciated!
The text was updated successfully, but these errors were encountered: