testing

package
v0.0.25-sharding-test-... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testing allows for spinning up a real bolt-db instance for unit tests throughout the Prysm repo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDB

func SetupDB(t testing.TB) db.Database

SetupDB instantiates and returns database backed by key value store.

func SetupDBWithoutClose

func SetupDBWithoutClose(t testing.TB) db.Database

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL