Written test cases for the RenderFileTask task in the unit tests target.

This commit is contained in:
2025-02-17 23:01:27 +01:00
parent e27d72cdc2
commit 75b806af3d
3 changed files with 43 additions and 2 deletions
@@ -15,7 +15,7 @@ extension TemplateServiceSpy: TemplateServicing {
// MARK: Functions
@discardableResult
func render(_ object: Any, on template: String) async throws(TemplateServiceError) -> String {
func render(_ object: Any, on template: String) async throws (TemplateServiceError) -> String {
actions.append(.rendered(object, template))
return .content