Skip to content

Commit 62326dc

Browse files
test: Refactors expectations out of tests
1 parent ed06f06 commit 62326dc

File tree

4 files changed

+1067
-1422
lines changed

4 files changed

+1067
-1422
lines changed

Tests/GraphitiTests/HelloWorldTests/HelloWorldAsyncTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ import XCTest
166166
}
167167
"""
168168

169-
let subscriptionResult = try api.subscribe(
169+
let subscriptionResult = try await api.subscribe(
170170
request: request,
171171
context: api.context,
172172
on: group
173-
).wait()
173+
)
174174
guard let subscription = subscriptionResult.stream else {
175175
XCTFail(subscriptionResult.errors.description)
176176
return

0 commit comments

Comments
 (0)