Bundled the static files into the App test target.

This commit is contained in:
2026-08-15 11:32:56 +02:00
parent 844a85f88c
commit 7d53be539e
3 changed files with 19 additions and 9 deletions
+6 -1
View File
@@ -120,7 +120,12 @@ let package = Package(
package: "hummingbird"
),
],
path: "Tests/App"
path: "Tests/App",
resources: [
// `Static` links to the service's `Resources/Static`, copying it into the test bundle at build
// time the tests must not read the repository tree, which Xcode's test runner is denied.
.copy("Static")
]
),
.testTarget(
name: "WebsiteLibraryTests",