Loop behavior on basic usage

unit-testing

#1

Hi
Can you explain why all test loop when I only launch ?

jest --watchAll --verbose

and try again outside vscode on simple terminal, it same result.
after end test, file not change, and test restart.

i don’t have this issue on other jest project outside jovo

it come when use this line in test

const response = await conversation.send(launchRequest);


#2

hi
solved by add test folder in jest part and package.json
then is stop loop

"jest": {
    "testEnvironment": "node",
    "roots": ["test"]
  }

#3

Thanks for the update! Closing this now :slight_smile:


closed #4