Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
pkukielka authored and mkondratek committed Aug 14, 2024
1 parent 72c8db8 commit 86f1d69
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class CodyAgentClientTest : BasePlatformTestCase() {
const val WEBVIEW_ID: String = "unused-webview-id"
}

@Volatile
var lastMessage: ConfigFeatures? = null
@Volatile var lastMessage: ConfigFeatures? = null

// Use lock/condition to synchronize between observer being invoked
// and the test being able to assert.
Expand Down Expand Up @@ -43,11 +42,11 @@ class CodyAgentClientTest : BasePlatformTestCase() {
WebviewPostMessageParams(
id = WEBVIEW_ID,
message =
ExtensionMessage(
type = ExtensionMessage.Type.SET_CONFIG_FEATURES,
errors = null,
configFeatures = expected,
)))
ExtensionMessage(
type = ExtensionMessage.Type.SET_CONFIG_FEATURES,
errors = null,
configFeatures = expected,
)))
PlatformTestUtil.dispatchAllEventsInIdeEventQueue()
lock.lock()
try {
Expand Down

0 comments on commit 86f1d69

Please sign in to comment.