Increase stdlib-js mocha test timeouts to 10s

Some tests often do not fit into the default timeout when running tests
in parallel on CI.
This commit is contained in:
Ilya Gorbunov
2020-07-17 00:24:08 +03:00
parent d62a6a2631
commit bace1b8055
2 changed files with 8 additions and 1 deletions
+7 -1
View File
@@ -7,7 +7,13 @@ plugins {
kotlin {
js(IR) {
nodejs()
nodejs {
testTask {
useMocha {
timeout = "10s"
}
}
}
}
}
+1
View File
@@ -348,6 +348,7 @@ task runMocha(type: NodeTask, dependsOn: [testClasses, installMocha, ':kotlin-te
args = ['--reporter', 'min']
}
args += ['--timeout', '10s']
args += [jsTestOutputFile, kotlinTestJsTestOutputFile]
execOverrides {