Skip to content

Commit 5680f93

Browse files
committed
Update the test as per review to use toEqual
1 parent 345d16b commit 5680f93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/test/utils/gemini_schema_util_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe("toGeminiSchema", () => {
148148
const schema = toGeminiSchema(input as any);
149149

150150
// For empty items schema, items type becomes TYPE_UNSPECIFIED
151-
expect(schema).toMatchObject({
151+
expect(schema).toEqual({
152152
type: Type.ARRAY,
153153
items: { type: Type.TYPE_UNSPECIFIED },
154154
});

0 commit comments

Comments
 (0)