Skip to content

Commit bc6112e

Browse files
Increase JS tests timeout to 10s (#2106)
Increase the timeout from the default (2s) to 10 seconds. This should fix the flakiness of kotlinx.serialization.json.JsonHugeDataSerializationTest
1 parent 3000afc commit bc6112e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

gradle/configure-source-sets.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ kotlin {
1313
}
1414

1515
js {
16-
nodejs {}
16+
nodejs {
17+
testTask {
18+
useMocha {
19+
timeout = "10s"
20+
}
21+
}
22+
}
1723
configure([compilations.main, compilations.test]) {
1824
kotlinOptions {
1925
sourceMap = true

0 commit comments

Comments
 (0)