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 18, 2024
1 parent a061cbc commit ad85da0
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 ad85da0

Please sign in to comment.