sui_indexer::test_utils

Function set_up

Source
pub async fn set_up(
    sim: Arc<Simulacrum>,
    data_ingestion_path: PathBuf,
) -> (JoinHandle<()>, PgIndexerStore, JoinHandle<Result<(), IndexerError>>, TempDb)
Expand description

Set up a test indexer fetching from a REST endpoint served by the given Simulacrum.