Implemented the "path" property for the Folder enumeration in the library target.

This commit is contained in:
2025-01-18 11:38:01 +01:00
parent 504b3be447
commit 720ad687fb
4 changed files with 62 additions and 9 deletions
@@ -14,7 +14,7 @@ struct CreateFoldersTaskTests {
@Test(arguments: [URL.someCurrentFolder, .someDotFolder, .someTildeFolder])
func createFolders(with rootFolder: URL) async throws {
// GIVEN
let folders = Folder.allCases.map { rootFolder.appendingPath($0.rawValue) }
let folders = Folder.allCases.map { rootFolder.appendingPath($0.path) }
let actions = folders.map { FileServiceMock.Action.createFolder($0) }
let createFolders = task(actions: actions)