Bundled the static files into the App test target.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user