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 35ed477 commit cc022a6Copy full SHA for cc022a6
Crashlytics/UnitTests/FIRCLSReportManagerTests.m
@@ -78,6 +78,11 @@ - (void)setUp {
78
79
self.fileManager = [[FIRCLSTempMockFileManager alloc] init];
80
81
+ // Cleanup potential artifacts from other test files.
82
+ if ([[NSFileManager defaultManager] fileExistsAtPath:[self.fileManager rootPath]]) {
83
+ assert([self.fileManager removeItemAtPath:[self.fileManager rootPath]]);
84
+ }
85
+
86
// Delete cached settings
87
[self.fileManager removeItemAtPath:_fileManager.settingsFilePath];
88
0 commit comments