We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b16d11 commit a0c4f3aCopy full SHA for a0c4f3a
AmplifyPlugins/Logging/Tests/AWSCloudWatchLoggingPluginTests/AWSCloudWatchLoggingMonitorTests.swift
@@ -29,9 +29,9 @@ final class AWSCloudWatchLoggingMonitorTests: XCTestCase {
29
/// Given: the the logging monitor is configured with a 2 second interval
30
/// When: the monitor is enabled
31
/// Then: the delegate is autoamtically invoked
32
- func testDelegateIsInvokedOnInterval() {
+ func testDelegateIsInvokedOnInterval() async {
33
monitor.setAutomaticFlushIntervals()
34
- wait(for: [invokedExpectation], timeout: 3)
+ await fulfillment(of: [invokedExpectation], timeout: 3)
35
}
36
37
0 commit comments