Skip to content

Commit 784f0b9

Browse files
committed
Fix Effect task tests.
1 parent e592df0 commit 784f0b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/ComposableArchitectureTests/EffectTests.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,16 @@ final class EffectTests: XCTestCase {
219219
failed: { error in
220220
result = error
221221
},
222+
completed: {
223+
XCTFail()
224+
},
222225
value: { _ in
223226
XCTFail()
224227
}
225228
)
226229
.start()
227230

228-
self.wait(for: [expectation], timeout: 0)
231+
self.wait(for: [expectation], timeout: 1)
229232
XCTAssertNotNil(result)
230233
disposable.dispose()
231234
}

0 commit comments

Comments
 (0)