Optional
beforeThe name of the checkpointer being tested. This will be used to identify the checkpointer in test output.
Optional
afterCalled once after all tests are run. Use this to perform any infrastructure cleanup that your checkpointer may require, like tearing down docker containers, etc.
Optional
beforeCalled 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.
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
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.