Skip to content

Commit

Permalink
build: 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Aug 10, 2023
1 parent 9483bb7 commit 01cd6d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ mirai {
jvmTarget = JavaVersion.VERSION_11
coreVersion = "2.15.0-dev-120"
consoleVersion = "2.15.0-dev-120"
useTestConsoleFrontEnd = null
if (System.getenv("CI").toBoolean()) {
useTestConsoleFrontEnd = null
}
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package xyz.cssxsh.mirai.test
import kotlinx.coroutines.*
import net.mamoe.mirai.console.plugin.jvm.*
import net.mamoe.mirai.utils.*
import org.openqa.selenium.OutputType
import org.openqa.selenium.remote.*
import xyz.cssxsh.mirai.selenium.*
import xyz.cssxsh.mirai.selenium.data.*
Expand Down Expand Up @@ -131,8 +132,7 @@ internal class MiraiSeleniumPluginTest :
]
}
""".trimIndent()
val content = driver.echarts(meta = EChartsMeta(option = option))
val (type, bytes) = data(url = content)
val content = driver.echartsAs(meta = EChartsMeta(option = option), outputType = OutputType.FILE)
}
}
}
Expand Down

0 comments on commit 01cd6d9

Please sign in to comment.