Skip to content

Commit

Permalink
fix: add mock for guard check
Browse files Browse the repository at this point in the history
  • Loading branch information
cat2608 committed Mar 21, 2024
1 parent 8c8861a commit dd30a19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ class LanguageServerWrapperTest {
lsMock.workspaceService.executeCommand(any<ExecuteCommandParams>())
} returns CompletableFuture.completedFuture(mapOf("ok" to true))

every { cut.ensureLanguageServerInitialized() } returns true


// Act
val result = cut.getFeatureFlagStatus(featureFlag)

Expand Down

0 comments on commit dd30a19

Please sign in to comment.