Skip to content

Commit 12eddf6

Browse files
committed
Add comment
1 parent 33765fe commit 12eddf6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/workflows/wasm/host/standard_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ func TestStandardErrors(t *testing.T) {
7373
}
7474

7575
func TestStandardCapabilityCallsAreAsync(t *testing.T) {
76+
// This test expects basic action's PerformAction to be called twice asynchronously and the results concatenated.
77+
// To ensure the calls are actually async, the mock will block the first call until the second call is made.
78+
// The first call sets InputThing to true, the second to false.
7679
t.Parallel()
7780
mockExecutionHelper := NewMockExecutionHelper(t)
7881
mockExecutionHelper.EXPECT().GetWorkflowExecutionID().Return("id")

0 commit comments

Comments
 (0)