https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

egorand

12/03/2019, 10:25 AM
I’ve bumped a multiplatform library to 1.3.60 and
jsNodeTest
started failing with the following message:
Copy code
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?
i

Ilya Goncharov [JB]

12/03/2019, 10:29 AM
Hi, yes, you can configure it
Copy code
nodejs {
   testTask {
      useMocha {
         timeout = "10s
      }
   }
}
e

egorand

12/03/2019, 10:37 AM
Nice, thank you!
3 Views