Skip to content

Commit

Permalink
fix invalid getTuple test (supply thread_id)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincburns committed Oct 20, 2024
1 parent be4ab79 commit dd64de1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libs/checkpoint-validation/src/spec/getTuple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,13 @@ export function getTupleTests<T extends BaseCheckpointSaver>(
it("should return undefined if the checkpoint_id is not found", async () => {
const configWithInvalidCheckpointId = mergeConfigs(
initializerConfig,
{ configurable: { checkpoint_ns, checkpoint_id: uuid6(-3) } }
{
configurable: {
thread_id: uuid6(-3),
checkpoint_ns,
checkpoint_id: uuid6(-3),
},
}
);
const checkpointTuple = await saver.getTuple(
configWithInvalidCheckpointId
Expand Down

0 comments on commit dd64de1

Please sign in to comment.