Skip to content

Preferred Way to Create Failing Unit Test #1108

Answered by ghost
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like this might be a symptom of using the JINT engine across multiple threads.

When I changed the above setTimeout implementation to be on the main thread - the issue doesn't occur.

Just wanted to call that out since I think we can restrict our usage of each Engine to a single thread.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
0 participants