Optional
before10000
The name of the checkpointer being tested. This will be used to identify the checkpointer in test output.
Optional
afterOptional
beforeCalled before each set of validations is run. The checkpointer returned will be used during test execution.
A new checkpointer, or promise that resolves to a new checkpointer.
Optional
destroyCalled 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.
The
BaseCheckpointSaver that was used during the test.
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.