Skip to content

Commit

Permalink
Switch to integration test, format, lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Jul 4, 2024
1 parent 4a90613 commit a814319
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ const checkpoint2: Checkpoint = {
},
};

if (!process.env.VERCEL_KV_API_URL || !process.env.VERCEL_KV_API_TOKEN) {
throw new Error(
"VERCEL_KV_API_URL and VERCEL_KV_API_TOKEN must be set in the environment"
);
}

describe("VercelKVSaver", () => {
it("should save and retrieve checkpoints correctly", async () => {
const vercelSaver = new VercelKVSaver({
Expand Down Expand Up @@ -91,7 +85,7 @@ describe("VercelKVSaver", () => {
configurable: { thread_id: "1" },
});

const checkpointTuples: CheckpointTuple[] = [];
const checkpointTuples = [];

for await (const checkpoint of checkpointTupleGenerator) {
checkpointTuples.push(checkpoint);
Expand Down

0 comments on commit a814319

Please sign in to comment.