Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed May 29, 2024
1 parent 38c9628 commit 41a4b31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/langchain-google-common/src/tests/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { expect, test } from "@jest/globals";
import { z } from "zod";
import { zodToGeminiParameters } from "../utils/zod_to_gemini_parameters.js";
Expand Down Expand Up @@ -63,7 +64,7 @@ test("zodToGeminiParameters removes additional properties from arrays", () => {
expect(convertedSchema.description).toBe("A list of people");
expect((convertedSchema as any).additionalProperties).toBeUndefined();

const peopleSchema = convertedSchema?.properties?.["people"];
const peopleSchema = convertedSchema?.properties?.people;
expect(peopleSchema).not.toBeUndefined();

if (peopleSchema !== undefined) {
Expand Down

0 comments on commit 41a4b31

Please sign in to comment.