mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Tidy-up useless directories at the end of a test run.
This commit is contained in:
parent
af3a6ccbed
commit
b85bd602f5
@ -97,6 +97,9 @@ class SessionDirectoriesTests: XCTestCase {
|
||||
XCTAssertTrue(fileManager.directoryExists(at: sessionDirectories.cacheDirectory))
|
||||
XCTAssertEqual(try fileManager.numberOfItems(at: sessionDirectories.cacheDirectory), 0)
|
||||
XCTAssertFalse(fileManager.fileExists(atPath: sessionDirectories.mockEventCachePath))
|
||||
|
||||
// The tests are done, tidy up these useless directories 🧹
|
||||
sessionDirectories.delete()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user