diff --git a/Package.swift b/Package.swift index f3afbe6..2371107 100644 --- a/Package.swift +++ b/Package.swift @@ -22,6 +22,9 @@ var package = Package( .library( name: "SabyTestMock", targets: ["SabyTestMock"]), + .library( + name: "SabyTestFake", + targets: ["SabyTestFake"]), .library( name: "SabyTestWait", targets: ["SabyTestWait"]), @@ -72,6 +75,10 @@ var package = Package( name: "SabyTestMock", dependencies: ["SabyConcurrency", "SabyJSON"], path: "Source/TestMock"), + .target( + name: "SabyTestFake", + dependencies: [], + path: "Source/TestFake"), .target( name: "SabyNetwork", dependencies: ["SabyConcurrency", "SabyJSON", "SabySafe"], diff --git a/Source/TestFake/Fakeable.swift b/Source/TestFake/Fakeable.swift new file mode 100644 index 0000000..7079d26 --- /dev/null +++ b/Source/TestFake/Fakeable.swift @@ -0,0 +1,12 @@ +// +// Fakeable.swift +// SabyTestFake +// +// Created by WOF on 11/8/23. +// + +import Foundation + +public protocol Fakeable { + static func fake() -> Self +}