Skip to content

Commit cc44ad5

Browse files
authored
[Core] Exclude lifecycle-dependent tests from watchOS (#10085)
1 parent a61f7b3 commit cc44ad5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FirebaseCore/Tests/Unit/FIRAppTest.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,7 @@ - (void)testIsDefaultAppConfigured {
827827

828828
#pragma mark - Core Telemetry
829829

830+
#if !TARGET_OS_WATCH
830831
- (void)testCoreDiagnosticsLoggedWhenAppDidBecomeActive {
831832
FIRApp *app = [self createConfiguredAppWithName:NSStringFromSelector(_cmd)];
832833
[self expectCoreDiagnosticsDataLogWithOptions:app.options];
@@ -844,6 +845,7 @@ - (void)testHeartbeatLogIsAttemptedWhenAppDidBecomeActive {
844845
object:nil];
845846
OCMVerifyAll(self.mockHeartbeatLogger);
846847
}
848+
#endif // TARGET_OS_WATCH
847849

848850
#pragma mark - private
849851

0 commit comments

Comments
 (0)