Skip to content

Commit a47f30a

Browse files
committed
test(api): avoid concrete Vertex model IDs
1 parent 692f457 commit a47f30a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/api/__tests__/index.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@ describe("buildApiHandler", () => {
117117
})
118118

119119
it.each([
120-
["non-Claude models", "gemini-2.5-pro", VertexHandler],
121-
["Claude models", "claude-3-7-sonnet", AnthropicVertexHandler],
120+
["an unspecified model", undefined, VertexHandler],
121+
["non-Claude models", "non-claude-test-model", VertexHandler],
122+
["Claude models", "claude-test-model", AnthropicVertexHandler],
122123
] as const)("returns the expected Vertex handler for %s", (_description, apiModelId, Handler) => {
123124
const handler = buildApiHandler({
124125
apiProvider: providerIdentifiers.vertex,

0 commit comments

Comments
 (0)