Skip to content

Commit 7fcb61a

Browse files
committed
Fixed empty wait.
1 parent 8ab992f commit 7fcb61a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Tests/AnalyticsLiveTests/Signals/SignalsTests.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ final class TestSignals: XCTestCase {
4444
let localData = LocalDataSignal(action: .loaded, identifier: "1234", data: ["price": "19.95", "customer_name": "John Doe"])
4545
Signals.emit(signal: localData)
4646

47-
waitForExpectations(timeout: 5) { error in
48-
49-
}
47+
waitForExpectations(timeout: 5)
5048
}
5149

5250
func testSendToSegmentUnobfuscated() throws {
@@ -82,8 +80,6 @@ final class TestSignals: XCTestCase {
8280
let localData = LocalDataSignal(action: .loaded, identifier: "1234", data: ["price": "19.95", "customer_name": "John Doe"])
8381
Signals.emit(signal: localData)
8482

85-
waitForExpectations(timeout: 5) { error in
86-
87-
}
83+
waitForExpectations(timeout: 5)
8884
}
8985
}

0 commit comments

Comments
 (0)