diff options
| -rw-r--r-- | codecov.yml | 3 | ||||
| -rw-r--r-- | platform-paper/src/test/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommandTest.kt | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/codecov.yml b/codecov.yml index 822b43f..e23de4b 100644 --- a/codecov.yml +++ b/codecov.yml @@ -18,6 +18,9 @@ ignore: - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/listener/**" # BuildInfo loads build-time resources at class init and is verified via integration tests. - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/BuildInfo.kt" + # VelocityStatusCommand is tightly coupled to VelocityConnectionManager and has no unit-test + # infrastructure; it is exercised via end-to-end multi-server tests. + - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lcv/VelocityStatusCommand.kt" # The Velocity platform has no unit-test infrastructure; it is exercised via end-to-end # multi-server tests (docker compose). - "platform-velocity/src/main/kotlin/**" diff --git a/platform-paper/src/test/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommandTest.kt b/platform-paper/src/test/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommandTest.kt index 039b135..63cf908 100644 --- a/platform-paper/src/test/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommandTest.kt +++ b/platform-paper/src/test/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommandTest.kt @@ -148,7 +148,7 @@ class StatusCommandTest { assertIs<CommandResult.Success>(result) // Nightly warning + version + health + features header + 4 features + config header + // debug + checkForUpdates + releaseChannel + language + 3 links = at least 15 messages - verify(atLeast = 5) { deps.mockPlayer.sendMessage(any<Component>()) } + verify(atLeast = 15) { deps.mockPlayer.sendMessage(any<Component>()) } } finally { unmockkObject(BuildInfo) } |
