Skip to content

Commit e42596a

Browse files
authored
Fix VertexAI Unit Test resource handing in SPM (#13310)
1 parent 8f2f254 commit e42596a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Placeholder file for Package.swift - required to prevent a warning.
2+
3+
It should be replaced before running the FirebaseVertexAI unit tests by
4+
running `scripts/update_vertexai_responses.sh`.

Package.swift

+1-3
Original file line numberDiff line numberDiff line change
@@ -1312,9 +1312,7 @@ let package = Package(
13121312
dependencies: ["FirebaseVertexAI", "SharedTestUtilities"],
13131313
path: "FirebaseVertexAI/Tests/Unit",
13141314
resources: [
1315-
// Including this README ensures that SPM will always generate a `Bundle.module`, even if
1316-
// the mock-responses have not been downloaded with the update_vertexai_responses.sh script.
1317-
.process("README.md"),
1315+
.process("vertexai-sdk-test-data/mock-responses"),
13181316
],
13191317
cSettings: [
13201318
.headerSearchPath("../../../"),

0 commit comments

Comments
 (0)