Skip to content

Commit

Permalink
Merge branch 'main' into rewrite-voice-event-deserialization-strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Mar 18, 2024
2 parents df37913 + 4ad225c commit 6a93ed6
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 307 deletions.
10 changes: 9 additions & 1 deletion buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@ kotlin {

jvm()
js {
nodejs()
nodejs {
testTask {
useMocha {
// disable timeouts, some tests are too slow for default 2-second timeout:
// https://mochajs.org/#-timeout-ms-t-ms
timeout = "0"
}
}
}
useCommonJs()
}
jvmToolchain(Jvm.target)
Expand Down
10 changes: 0 additions & 10 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ plugins {
}

kotlin {
js {
nodejs {
testTask {
useMocha {
timeout = "10000" // KordEventDropTest is too slow for default 2 seconds timeout
}
}
}
}

sourceSets {
commonMain {
dependencies {
Expand Down
Loading

0 comments on commit 6a93ed6

Please sign in to comment.