Skip to content

Commit

Permalink
udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Feb 22, 2024
1 parent 8a39d96 commit 294cfa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 38 deletions.
4 changes: 2 additions & 2 deletions Tests/LiveKitTests/CompleterTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CompleterTests: XCTestCase {
group.addTask {
print("Timer task: Started...")
// Cancel after 3 seconds
// try await Task.sleep(until: .now + .seconds(3), clock: .continuous)
try await Task.sleep(nanoseconds: 3 * 1_000_000_000)
print("Timer task: Cancelling...")
completer.reset()
}
Expand Down Expand Up @@ -94,7 +94,7 @@ class CompleterTests: XCTestCase {
group.addTask {
print("Timer task: Started...")
// Cancel after 3 seconds
// try await Task.sleep(until: .now + .seconds(3), clock: .continuous)
try await Task.sleep(nanoseconds: 3 * 1_000_000_000)
print("Timer task: Completing...")
completer.resume(returning: ())
}
Expand Down
36 changes: 0 additions & 36 deletions Tests/LiveKitTests/LiveKitTests.swift

This file was deleted.

0 comments on commit 294cfa1

Please sign in to comment.