egorand

    egorand

    2 years ago
    I’ve bumped a multiplatform library to 1.3.60 and
    jsNodeTest
    started failing with the following message:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
    I’m completely fine with the tests taking longer than 2s in this case, are there any configuration options that would allow ignoring this error?
    Ilya Goncharov [JB]

    Ilya Goncharov [JB]

    2 years ago
    Hi, yes, you can configure it
    nodejs {
       testTask {
          useMocha {
             timeout = "10s
          }
       }
    }
    egorand

    egorand

    2 years ago
    Nice, thank you!