Skip to content

Commit 7a8e18a

Browse files
committed
Add test
1 parent b997c71 commit 7a8e18a

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import XCTest
2+
@testable import LogStream
3+
4+
final class MyLibraryTests: XCTestCase {
5+
6+
/// Check if logs are received.
7+
func testReceiveLogs() async {
8+
let logs = LogStream.logs()
9+
10+
for await _ in logs {
11+
XCTAssertTrue(true)
12+
return
13+
}
14+
}
15+
}

Tests/MyLibraryTests/MyLibraryTests.swift

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)