Skip to content

Commit a777780

Browse files
committed
Fix flakey tests
1 parent f94988e commit a777780

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/ComposableArchitecture/TestStore.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@
265265

266266
switch effects.operation {
267267
case .none:
268+
self.effectDidSubscribe.continuation.yield()
268269
return .none
270+
269271
case .publisher, .run:
270272
let effect = LongLivingEffect(file: action.file, line: action.line)
271273
return

0 commit comments

Comments
 (0)