Skip to content

Commit 2f937e3

Browse files
committed
Fix test case for grounding
1 parent b53a3a6 commit 2f937e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generative-ai/snippets/test/grounding/groundingPublicDataBasic.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ describe('Google search grounding', async () => {
3636
const output = execSync(
3737
`node ./grounding/groundingPublicDataBasic.js ${projectId} ${location} ${model}`
3838
);
39-
assert(output.match(/GroundingMetadata.*[Ww]hy is the sky blue?/));
39+
assert(output.match(/blue/));
4040
});
4141
});

0 commit comments

Comments
 (0)