LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-checkpoint-validationindexCheckpointSaverTestInitializer
Interface

CheckpointSaverTestInitializer

Copy
interface CheckpointSaverTestInitializer

Properties

Methods

View source on GitHub
property
beforeAllTimeout: number
property
checkpointerName: string
method
afterAll→ void | Promise<void>
method
beforeAll→ void | Promise<void>
method
createCheckpointer→ CheckpointerT | Promise<CheckpointerT>
method
destroyCheckpointer→ void | Promise<void>

Optional timeout for beforeAll. Useful for test setups that might take a while to complete, e.g. due to needing to pull a docker container.

The name of the checkpointer being tested. This will be used to identify the checkpointer in test output.

Called once after all tests are run. Use this to perform any infrastructure cleanup that your checkpointer may require, like tearing down docker containers, etc.

Called once before any tests are run. Use this to perform any setup that your checkpoint checkpointer may require, like starting docker containers, etc.

Called before each set of validations is run. The checkpointer returned will be used during test execution.

Called after each set of validations is run. Use this to clean up any resources that your checkpointer may have been using. This should include cleaning up any state that the checkpointer wrote during the tests that just ran.